diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-17 15:34:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-17 15:34:10 +0000 |
commit | 9ad79612fed43e70f318aed2f90d8b29ad667a77 (patch) | |
tree | 8030568ddb4230e06f329f8aec733edf7afe8ccd /app/views/issues | |
parent | 1469a4c8df574d066c49b55f9fd9096638740272 (diff) | |
download | redmine-9ad79612fed43e70f318aed2f90d8b29ad667a77.tar.gz redmine-9ad79612fed43e70f318aed2f90d8b29ad667a77.zip |
Roadmap: more accurate completion percentage calculation (done ratio of open issues is now taken into account).
Issues and issues list: 'done ratio' field now displayed as a progress bar.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@908 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/show.rhtml b/app/views/issues/show.rhtml index db6fc4df2..0745f01f3 100644 --- a/app/views/issues/show.rhtml +++ b/app/views/issues/show.rhtml @@ -28,7 +28,7 @@ </tr> <tr> <td><b><%=l(:field_assigned_to)%> :</b></td><td><%= @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td> - <td><b><%=l(:field_done_ratio)%> :</b></td><td><%= @issue.done_ratio %> %</td> + <td><b><%=l(:field_done_ratio)%> :</b></td><td><%= progress_bar @issue.done_ratio, :width => '80px', :legend => "#{@issue.done_ratio}%" %></td> </tr> <tr> <td><b><%=l(:field_category)%> :</b></td><td><%=h @issue.category ? @issue.category.name : "-" %></td> |