Show some stats about Milestone according to the new UI.
This commit is contained in:
parent
3c157b6bf7
commit
96058605c3
2 changed files with 26 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue