summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-21 09:52:50 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-21 09:52:50 -0500
commit8d0332368fba65f167f2109daf8a2184d781082b (patch)
tree337bf187797926c65be418f3e649f59dcb2628e8
parent1cbc898223d2f9b78cb6494108d2aed00d19d00e (diff)
downloadgitlab-ce-8d0332368fba65f167f2109daf8a2184d781082b.tar.gz
Improve status rendering
-rw-r--r--app/views/projects/ci/commits/_commit.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/ci/commits/_commit.html.haml b/app/views/projects/ci/commits/_commit.html.haml
index 2ea9333913c..9c63510d864 100644
--- a/app/views/projects/ci/commits/_commit.html.haml
+++ b/app/views/projects/ci/commits/_commit.html.haml
@@ -36,10 +36,10 @@
- status = stages_status[stage]
- tooltip = "#{stage.titleize}: #{status || 'not found'}"
- if status
- = link_to namespace_project_pipeline_path(@project.namespace, @project, commit.id, anchor: stage), class: "has-tooltip ci-status-icon-#{status || 'skipped'}", title: tooltip do
+ = link_to namespace_project_pipeline_path(@project.namespace, @project, commit.id, anchor: stage), class: "has-tooltip ci-status-icon-#{status}", title: tooltip do
= ci_icon_for_status(status)
- else
- .light
+ .light.has-tooltip{ title: tooltip }
\-
%td