Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-25 20:21:25 +0300
committerRubén Dávila <rdavila84@gmail.com>2016-02-03 01:45:42 +0300
commit4e8266e8df3a5a66a2622e4c5e1ee902cf3a66b5 (patch)
tree7f0eee2cdf77456f0a3f77ccb88982bfef28115c /app/views/projects/milestones
parent365d96ca850caf653f48a611f4a6dd785487e526 (diff)
Change format of Milestone stats.
Diffstat (limited to 'app/views/projects/milestones')
-rw-r--r--app/views/projects/milestones/show.html.haml15
1 files changed, 9 insertions, 6 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index a6108afd8e7..72a4164d2d4 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -48,12 +48,15 @@
.context.prepend-top-default
%p.lead
- Progress:
- #{@milestone.closed_items_count} closed
- &ndash;
- #{@milestone.open_items_count} open
- &nbsp;
- %span.light #{@milestone.percent_complete}% complete
+ %h4 Progress
+ %strong= @milestone.issues.count
+ issues:
+ %strong= @milestone.open_items_count
+ open and
+ %strong= @milestone.closed_items_count
+ closed
+ %strong== #{@milestone.percent_complete}%
+ complete
%span.pull-right= @milestone.expires_at
= milestone_progress_bar(@milestone)