diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-17 11:34:14 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-17 11:34:14 -0500 |
commit | 1dfaa6a8475404b52cd37056fce994825d65966f (patch) | |
tree | 3bfae468d95e05ed3d0e7494b5f9da9ffcbc5ccc /app/views/shared/issuable/_sidebar.html.haml | |
parent | 909f1c933f5f5a23259f1545c70d61e5858e5aea (diff) | |
download | gitlab-ce-1dfaa6a8475404b52cd37056fce994825d65966f.tar.gz |
Convert tooltip html: 1 to html: true
Diffstat (limited to 'app/views/shared/issuable/_sidebar.html.haml')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index 08aa7cc88bc..40c86444efd 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -23,7 +23,7 @@ = icon('clock-o', 'aria-hidden': 'true') %span.milestone-title - if issuable.milestone - %span.has-tooltip{ title: "#{issuable.milestone.title}<br>#{milestone_tooltip_title(issuable.milestone)}", data: { container: 'body', html: 1, placement: 'left' } } + %span.has-tooltip{ title: "#{issuable.milestone.title}<br>#{milestone_tooltip_title(issuable.milestone)}", data: { container: 'body', html: true, placement: 'left' } } = issuable.milestone.title - else = _('None') @@ -34,7 +34,7 @@ = link_to _('Edit'), '#', class: 'js-sidebar-dropdown-toggle edit-link float-right' .value.hide-collapsed - if issuable.milestone - = link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_title(issuable.milestone), data: { container: "body", html: 1 } + = link_to issuable.milestone.title, milestone_path(issuable.milestone), class: "bold has-tooltip", title: milestone_tooltip_title(issuable.milestone), data: { container: "body", html: true } - else %span.no-value = _('None') |