diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-21 09:52:50 -0500 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-21 09:52:50 -0500 |
commit | 8d0332368fba65f167f2109daf8a2184d781082b (patch) | |
tree | 337bf187797926c65be418f3e649f59dcb2628e8 /app | |
parent | 1cbc898223d2f9b78cb6494108d2aed00d19d00e (diff) | |
download | gitlab-ce-8d0332368fba65f167f2109daf8a2184d781082b.tar.gz |
Improve status rendering
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/ci/commits/_commit.html.haml | 4 |
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 |