_overview.html.erb.patch

Pavel Rosick√Ĺ, 2017-07-21 11:40

Download (1.07 KB)

View differences:

views/versions/_overview.html.erb (working copy)
17 17
<% if version.issues_count > 0 %>
18 18
    <%= progress_bar([version.closed_percent, version.completed_percent],
19 19
                     :titles =>
20
                       ["%s: %0.0f%" % [l(:label_closed_issues_plural), version.closed_percent],
21
                        "%s: %0.0f%" % [l(:field_done_ratio), version.completed_percent]],
22
                     :legend => ('%0.0f%' % version.completed_percent)) %>
20
                       ["%s: %0.0f%%" % [l(:label_closed_issues_plural), version.closed_percent],
21
                        "%s: %0.0f%%" % [l(:field_done_ratio), version.completed_percent]],
22
                     :legend => ('%0.0f%%' % version.completed_percent)) %>
23 23
    <p class="progress-info">
24 24
      <%= link_to(l(:label_x_issues, :count => version.issues_count),
25 25
                  version_filtered_issues_path(version, :status_id => '*')) %>