summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones
diff options
context:
space:
mode:
authorGeorge Andrinopoulos <geoandri@gmail.com>2017-11-06 20:18:20 +0200
committerGeorge Andrinopoulos <geoandri@gmail.com>2017-11-11 16:47:39 +0200
commit561693ad173b22dab54a0fdd5446f7637095272a (patch)
tree76b6d9c46f5dd4c5df50f4e251beafc1a23349e4 /app/views/shared/milestones
parent2f9c23eb7e594c40bee0e66b111132d1481af1a3 (diff)
downloadgitlab-ce-561693ad173b22dab54a0fdd5446f7637095272a.tar.gz
Move total time spend calculation to milestoneish
Diffstat (limited to 'app/views/shared/milestones')
-rw-r--r--app/views/shared/milestones/_sidebar.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/shared/milestones/_sidebar.html.haml b/app/views/shared/milestones/_sidebar.html.haml
index e244adf7d52..d396e80e12c 100644
--- a/app/views/shared/milestones/_sidebar.html.haml
+++ b/app/views/shared/milestones/_sidebar.html.haml
@@ -89,15 +89,15 @@
.sidebar-collapsed-icon
= custom_icon('icon_hourglass')
%span.collapsed-milestone-total-time-spent
- - if milestone.human_total_time_spent
- = milestone.human_total_time_spent
+ - if milestone.human_total_issue_time_spent
+ = milestone.human_total_issue_time_spent
- else
None
.title.hide-collapsed
- Total time spent
+ Total issue time spent
.value.hide-collapsed
- - if milestone.human_total_time_spent
- %span.bold= milestone.human_total_time_spent
+ - if milestone.human_total_issue_time_spent
+ %span.bold= milestone.human_total_issue_time_spent
- else
%span.no-value No time spent