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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1b2c0a7f
Commit
1b2c0a7f
authored
Nov 02, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced Icon with Sprite Icon
parent
9b4ad794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
app/assets/javascripts/vue_shared/components/linked_pipelines_mini_list.vue
...ipts/vue_shared/components/linked_pipelines_mini_list.vue
+6
-4
No files found.
app/assets/javascripts/vue_shared/components/linked_pipelines_mini_list.vue
View file @
1b2c0a7f
<
script
>
import
arrowSvg
from
'
icons/_arrow_mini_pipeline_graph.svg
'
;
import
{
borderlessStatusIconEntityMap
}
from
'
../../vue_shared/ci_status_icons
'
;
import
icon
from
'
./icon.vue
'
;
import
ciStatus
from
'
./ci_icon.vue
'
;
import
tooltip
from
'
../directives/tooltip
'
;
...
...
@@ -33,6 +33,7 @@
},
components
:
{
ciStatus
,
icon
,
},
computed
:
{
// Exactly one of these (triggeredBy and triggered) must be truthy. Never both. Never neither.
...
...
@@ -68,7 +69,7 @@
return
`
${
pipeline
.
project
.
name
}
-
${
pipeline
.
details
.
status
.
label
}
`
;
},
getStatusIcon
(
icon
)
{
return
borderlessStatusIconEntityMap
[
icon
]
;
return
`
${
icon
}
_borderless`
;
},
triggerButtonClass
(
group
)
{
return
`ci-status-icon-
${
group
}
`
;
...
...
@@ -102,8 +103,9 @@
:title=
"pipelineTooltipText(pipeline)"
data-placement=
"top"
data-container=
"body"
:class=
"triggerButtonClass(pipeline.details.status.group)"
v-html=
"getStatusIcon(pipeline.details.status.icon)"
>
:class=
"triggerButtonClass(pipeline.details.status.group)"
>
<icon
:name=
"getStatusIcon(pipeline.details.status.icon)"
/>
</a>
<a
...
...
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