summaryrefslogtreecommitdiffstats
path: root/app/views/versions/_issue_counts.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-08 12:28:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-08 12:28:23 +0000
commitecb1f660ac4d8bb46e2d1b34f89a4638297cd1e4 (patch)
treecf562ed0f402d662985fc1c3cf0b50b4e514f06f /app/views/versions/_issue_counts.html.erb
parente51adfdb3f2988d3a92d34f088f155871f82a870 (diff)
downloadredmine-ecb1f660ac4d8bb46e2d1b34f89a4638297cd1e4.tar.gz
redmine-ecb1f660ac4d8bb46e2d1b34f89a4638297cd1e4.zip
Improved responsiveness for versions and roadmap (#19097).
Width of progress bars is no longer hard-coded in views. git-svn-id: http://svn.redmine.org/redmine/trunk@14851 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions/_issue_counts.html.erb')
-rw-r--r--app/views/versions/_issue_counts.html.erb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/versions/_issue_counts.html.erb b/app/views/versions/_issue_counts.html.erb
index 7d9652250..398b2d31f 100644
--- a/app/views/versions/_issue_counts.html.erb
+++ b/app/views/versions/_issue_counts.html.erb
@@ -22,8 +22,7 @@
</td>
<td style="width:240px;">
<%= progress_bar((count[:closed].to_f / count[:total])*100,
- :legend => "#{count[:closed]}/#{count[:total]}",
- :width => "#{(count[:total].to_f / max * 200).floor}px;") %>
+ :legend => "#{count[:closed]}/#{count[:total]}") %>
</td>
</tr>
<% end %>