diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-12-15 17:30:49 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-12-15 20:43:01 +0000 |
commit | e42de89a15c858866d78a4d2a5837a0feec922a5 (patch) | |
tree | cd35a8b39cb6f466244e79923cd517fa74244ac7 /app/views/ci | |
parent | 23f4d182e9b2fdd9cad6ebd5d898b52f671b9e66 (diff) | |
download | gitlab-ce-e42de89a15c858866d78a4d2a5837a0feec922a5.tar.gz |
Changes after review
Changes after review
Fix tooltip title
Remove unneeded string interpolation
Diffstat (limited to 'app/views/ci')
-rw-r--r-- | app/views/ci/status/_graph_badge.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/status/_graph_badge.html.haml b/app/views/ci/status/_graph_badge.html.haml index a7e8544e7d4..c7d04ab61e9 100644 --- a/app/views/ci/status/_graph_badge.html.haml +++ b/app/views/ci/status/_graph_badge.html.haml @@ -5,7 +5,7 @@ - klass = "ci-status-icon ci-status-icon-#{status}" - if status.has_details? - = link_to status.details_path, data: { toggle: 'tooltip', title: "#{subject.name} - #{status}" } do + = link_to status.details_path, data: { toggle: 'tooltip', title: "#{subject.name} - #{status.label}" } do %span{ class: klass }= custom_icon(status.icon) .ci-status-text= subject.name - else @@ -14,6 +14,6 @@ - if status.has_action? = link_to status.action_path, method: status.action_method, - title: "#{subject.name}: #{status.action_title}", class: 'ci-action-icon-container' do + title: status.action_title, class: 'ci-action-icon-container' do %i.ci-action-icon-wrapper = icon(status.action_icon, class: status.action_class) |