diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-10 01:20:32 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-10 01:20:32 +0300 |
commit | c6b242112781120233a3627098e50689f6ccf9f8 (patch) | |
tree | bd85f1cfdf5bdee73795324ce473cba129ed28a6 /app/views/groups/milestones/index.html.haml | |
parent | e89ffd546eafad4e03ce5b17b5c9147b70afeedc (diff) |
Render milestone progress with one helper method
Diffstat (limited to 'app/views/groups/milestones/index.html.haml')
-rw-r--r-- | app/views/groups/milestones/index.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/groups/milestones/index.html.haml b/app/views/groups/milestones/index.html.haml index fcbcb309aa7..9febaab04a7 100644 --- a/app/views/groups/milestones/index.html.haml +++ b/app/views/groups/milestones/index.html.haml @@ -36,8 +36,7 @@ = pluralize milestone.merge_requests_count, 'Merge Request' %span.light #{milestone.percent_complete}% complete - .progress.progress-info - .progress-bar{style: "width: #{milestone.percent_complete}%;"} + = milestone_progress_bar(milestone) %div %br - milestone.milestones.each do |milestone| |