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 @@
= milestone.expires_at
.context
%p.lead
Progress:
#{@milestone.closed_items_count} closed
–
#{@milestone.open_items_count} open
.milestone-summary
%h4 Progress
%strong= @milestone.issues.size
issues:
%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)
%ul.nav-links.no-top.no-bottom
......
......@@ -47,11 +47,19 @@
= milestone.expires_at
.context
%p.lead
Progress:
#{@milestone.closed_items_count} closed
–
#{@milestone.open_items_count} open
.milestone-summary
%h4 Progress
%strong= @milestone.issues.size
issues:
%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)
%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