diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-06-03 00:01:11 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-03 00:01:11 +0300 |
commit | 5cae36d16ca730c057badb0f41ee25a9830e5abd (patch) | |
tree | a864a30b38f326be8f03301199c0104ca052ef38 /app/views | |
parent | 91937d5b312a37d2b602623f57dad3c0ae8af813 (diff) | |
download | gitlab-ce-5cae36d16ca730c057badb0f41ee25a9830e5abd.tar.gz |
Show milestone remaining tooltip in right sidebar.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index c1eec450193..be038cab94d 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -56,7 +56,8 @@ = icon('clock-o') %span - if issuable.milestone - = issuable.milestone.title + %span.has-tooltip{"data-container" => "body", "data-placement" => "left", "data-original-title" => milestone_remaining_days(issuable.milestone, false)} + = issuable.milestone.title - else None .title.hide-collapsed @@ -67,7 +68,8 @@ .value.bold.hide-collapsed - if issuable.milestone = link_to namespace_project_milestone_path(@project.namespace, @project, issuable.milestone) do - = issuable.milestone.title + %span.has-tooltip{"data-container" => "body", "data-original-title" => milestone_remaining_days(issuable.milestone, false)} + = issuable.milestone.title - else .light None |