summaryrefslogtreecommitdiff
path: root/app/views/shared
diff options
context:
space:
mode:
authorGeorge Andrinopoulos <geoandri@gmail.com>2017-10-29 22:58:49 +0200
committerGeorge Andrinopoulos <geoandri@gmail.com>2017-11-11 16:47:39 +0200
commitf39fe4d8db2d7fc6443c68aefff60f3eafcdf602 (patch)
tree632b6308200d934dab60d3c812473207bd3067f2 /app/views/shared
parentd180affa210bd6e5474746bcfed006cee9d3730e (diff)
downloadgitlab-ce-f39fe4d8db2d7fc6443c68aefff60f3eafcdf602.tar.gz
Add total time spent to milestones
Diffstat (limited to 'app/views/shared')
-rw-r--r--app/views/shared/milestones/_sidebar.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/shared/milestones/_sidebar.html.haml b/app/views/shared/milestones/_sidebar.html.haml
index f03e0ab154c..6267151f460 100644
--- a/app/views/shared/milestones/_sidebar.html.haml
+++ b/app/views/shared/milestones/_sidebar.html.haml
@@ -85,6 +85,16 @@
Closed:
= milestone.issues_visible_to_user(current_user).closed.count
+ .block.time_spent
+ .sidebar-collapsed-icon
+ %strong
+ = custom_icon('icon_clock_o')
+ %span= milestone.human_total_time_spent
+ .title.hide-collapsed
+ Total time spent
+ .value.hide-collapsed
+ = milestone.human_total_time_spent
+
.block.merge-requests
.sidebar-collapsed-icon
%strong