Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2016-06-03 00:01:11 +0300
committerFatih Acet <acetfatih@gmail.com>2016-06-03 00:01:11 +0300
commit5cae36d16ca730c057badb0f41ee25a9830e5abd (patch)
treea864a30b38f326be8f03301199c0104ca052ef38 /app/views/shared/issuable
parent91937d5b312a37d2b602623f57dad3c0ae8af813 (diff)
Show milestone remaining tooltip in right sidebar.
Diffstat (limited to 'app/views/shared/issuable')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml6
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