Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
63ec4d48
Commit
63ec4d48
authored
Jan 04, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show yaml error badge in pipelines page if present
parent
1994c032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
...ssets/javascripts/vue_pipelines_index/pipeline_url.js.es6
+3
-3
spec/features/projects/pipelines/pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+1
-1
No files found.
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
View file @
63ec4d48
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<span
<span
v-if='pipeline.flags.latest'
v-if='pipeline.flags.latest'
class="label label-success has-tooltip"
class="label label-success has-tooltip"
title=""
title="
Latest pipeline for this branch
"
data-original-title="Latest pipeline for this branch"
data-original-title="Latest pipeline for this branch"
>
>
latest
latest
...
@@ -46,8 +46,8 @@
...
@@ -46,8 +46,8 @@
<span
<span
v-if='pipeline.flags.yaml_errors'
v-if='pipeline.flags.yaml_errors'
class="label label-danger has-tooltip"
class="label label-danger has-tooltip"
title=""
:title='pipeline.yaml_errors'
data-original-title="Undefined yaml error"
:data-original-title='pipeline.yaml_errors'
>
>
yaml invalid
yaml invalid
</span>
</span>
...
...
spec/features/projects/pipelines/pipelines_spec.rb
View file @
63ec4d48
...
@@ -93,7 +93,7 @@ describe 'Pipelines', :feature, :js do
...
@@ -93,7 +93,7 @@ describe 'Pipelines', :feature, :js do
before
{
visit_project_pipelines
}
before
{
visit_project_pipelines
}
it
'contains badge that indicate errors'
do
it
'contains badge that indicate
s
errors'
do
expect
(
page
).
to
have_content
'yaml invalid'
expect
(
page
).
to
have_content
'yaml invalid'
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment