summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-08-17 21:15:22 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-08-17 21:15:22 +0200
commit68c87a2de3e3de1f9127c9d2196a45493a13141f (patch)
tree5875c2b71e78abd9ac1c23bdc13844e5118ab66c /app/views/projects
parent27cf081e1b0b1df1661aaf0ae6b60b05ef3eb8d8 (diff)
downloadgitlab-ce-68c87a2de3e3de1f9127c9d2196a45493a13141f.tar.gz
Show percentage status on milestone detail page, fixes #485
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/milestones/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index 42c3f45f6c9..1a495aa1c40 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -47,6 +47,8 @@
#{@milestone.closed_items_count} closed
&ndash;
#{@milestone.open_items_count} open
+ &nbsp;
+ %span.light #{@milestone.percent_complete}% complete
%span.pull-right= @milestone.expires_at
.progress.progress-info
.progress-bar{style: "width: #{@milestone.percent_complete}%;"}