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
a1f281e9
Commit
a1f281e9
authored
Nov 10, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conditional action buttons - spans for pipeline tags
parent
aa6fa88b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
2 deletions
+28
-2
app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6
...s/javascripts/vue_pipelines_index/pipeline_actions.js.es6
+12
-2
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
...ssets/javascripts/vue_pipelines_index/pipeline_url.js.es6
+16
-0
No files found.
app/assets/javascripts/vue_pipelines_index/pipeline_actions.js.es6
View file @
a1f281e9
...
...
@@ -24,7 +24,12 @@
<div class="controls pull-right">
<div class="btn-group inline">
<div class="btn-group">
<a class="dropdown-toggle btn btn-default" data-toggle="dropdown" type="button">
<a
v-if='pipeline.details.manual_actions.length > 0'
class="dropdown-toggle btn btn-default"
data-toggle="dropdown"
type="button"
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 11" class="icon-play">
<path
fill-rule="evenodd"
...
...
@@ -50,7 +55,12 @@
</ul>
</div>
<div class="btn-group">
<a class="dropdown-toggle btn btn-default build-artifacts" data-toggle="dropdown" type="button">
<a
v-if='pipeline.details.artifacts.length > 0'
class="dropdown-toggle btn btn-default build-artifacts"
data-toggle="dropdown"
type="button"
>
<i class="fa fa-download"></i>
<i class="fa fa-caret-down"></i>
</a>
...
...
app/assets/javascripts/vue_pipelines_index/pipeline_url.js.es6
View file @
a1f281e9
...
...
@@ -22,6 +22,22 @@
</a>
<span>by</span>
<span class="api monospace">{{user}}</span>
<span
v-if='pipeline.flags.latest === true'
class="label label-success has-tooltip"
title=""
data-original-title="Latest build for this branch"
>
latest
</span>
<span
v-if='pipeline.flags.yaml_errors === true'
class="label label-danger has-tooltip"
title=""
data-original-title="Undefined yaml error"
>
yaml invalid
</span>
</td>
`,
});
...
...
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