diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-19 20:38:33 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-19 20:38:33 +0300 |
commit | 0aa8ef0ddcf4f7830bd793ad780bab0813719956 (patch) | |
tree | 96f3dada46178af5de20f67696146010b9cc8eb4 /app/views/ci/status/_dropdown_graph_badge.html.haml | |
parent | 1536c69f6a63d53389a02c1de0329ba6169a3e0f (diff) |
Set html:true for tooltips
Diffstat (limited to 'app/views/ci/status/_dropdown_graph_badge.html.haml')
-rw-r--r-- | app/views/ci/status/_dropdown_graph_badge.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/ci/status/_dropdown_graph_badge.html.haml b/app/views/ci/status/_dropdown_graph_badge.html.haml index db2040110fa..5445a70ebae 100644 --- a/app/views/ci/status/_dropdown_graph_badge.html.haml +++ b/app/views/ci/status/_dropdown_graph_badge.html.haml @@ -6,12 +6,12 @@ - tooltip = "#{subject.name} - #{status.status_tooltip}" - if status.has_details? - = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item', data: { toggle: 'tooltip', title: tooltip, html: true, container: 'body' } do + = link_to status.details_path, class: 'mini-pipeline-graph-dropdown-item', data: { toggle: 'tooltip', title: tooltip, html: 'true', container: 'body' } do %span{ class: klass }= sprite_icon(status.icon) %span.ci-build-text= subject.name - else - .menu-item.mini-pipeline-graph-dropdown-item{ data: { toggle: 'tooltip', html: true, title: tooltip, container: 'body' } } + .menu-item.mini-pipeline-graph-dropdown-item{ data: { toggle: 'tooltip', html: 'true', title: tooltip, container: 'body' } } %span{ class: klass }= sprite_icon(status.icon) %span.ci-build-text= subject.name |