diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-01 11:35:43 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-09-01 11:35:43 +0000 |
commit | 31773f4dd7f89df7cea3ef4b3f547b479329ef9e (patch) | |
tree | 90ed75c6cc94d21503ca8fde5ae7a14a6c4562e5 | |
parent | 6dd140047f11d8cdd02a2b5ad63cb1606970f9fb (diff) | |
parent | 68c87a2de3e3de1f9127c9d2196a45493a13141f (diff) | |
download | gitlab-ce-31773f4dd7f89df7cea3ef4b3f547b479329ef9e.tar.gz |
Merge branch 'milestone_percentage' into 'master'
Show milestone percentage in detail page, fixes #485
#### What does this MR do?
This MR adds the percentage count also to the milestone detail page.
##### Why was this MR needed?
Currently, this is only shown in the overview list.
##### What are the relevant issue numbers?
#485
###### Screenshots

See merge request !170
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 2 |
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 – #{@milestone.open_items_count} open + + %span.light #{@milestone.percent_complete}% complete %span.pull-right= @milestone.expires_at .progress.progress-info .progress-bar{style: "width: #{@milestone.percent_complete}%;"} |