Commit 96058605 authored by Rubén Dávila's avatar Rubén Dávila

Show some stats about Milestone according to the new UI.

parent 3c157b6b
...@@ -41,11 +41,19 @@ ...@@ -41,11 +41,19 @@
= milestone.expires_at = milestone.expires_at
.context .context
%p.lead .milestone-summary
Progress: %h4 Progress
#{@milestone.closed_items_count} closed %strong= @milestone.issues.size
– issues:
#{@milestone.open_items_count} open %span.milestone-stat
%strong= @milestone.opened_issues.size
open and
%strong= @milestone.closed_issues.size
closed
%span.milestone-stat
%strong== #{@milestone.percent_complete}%
complete
= milestone_progress_bar(@milestone) = milestone_progress_bar(@milestone)
%ul.nav-links.no-top.no-bottom %ul.nav-links.no-top.no-bottom
......
...@@ -47,11 +47,19 @@ ...@@ -47,11 +47,19 @@
= milestone.expires_at = milestone.expires_at
.context .context
%p.lead .milestone-summary
Progress: %h4 Progress
#{@milestone.closed_items_count} closed %strong= @milestone.issues.size
– issues:
#{@milestone.open_items_count} open %span.milestone-stat
%strong= @milestone.opened_issues.size
open and
%strong= @milestone.closed_issues.size
closed
%span.milestone-stat
%strong== #{@milestone.percent_complete}%
complete
= milestone_progress_bar(@milestone) = milestone_progress_bar(@milestone)
%ul.nav-links.no-top.no-bottom %ul.nav-links.no-top.no-bottom
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment