diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-09-29 15:39:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-09-29 15:39:56 +0000 |
commit | a1addba26cfbc5b056cf7e865a9602dabf831aa8 (patch) | |
tree | 45f3045403394e6e8ef8231efbe269f258d00b76 | |
parent | 481a1311b75e696ccecb487b6ab4cd8686111988 (diff) | |
download | redmine-a1addba26cfbc5b056cf7e865a9602dabf831aa8.tar.gz redmine-a1addba26cfbc5b056cf7e865a9602dabf831aa8.zip |
Adds some css classes (#14767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12171 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/versions/show.html.erb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4b33e15f3..2c093a26f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1062,7 +1062,7 @@ module ApplicationHelper (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed') : ''.html_safe) + (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done') : ''.html_safe) + (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo') : ''.html_safe) - ), :class => 'progress', :style => "width: #{width};").html_safe + + ), :class => 'progress progress-#{pcts[0]}', :style => "width: #{width};").html_safe + content_tag('p', legend, :class => 'percent').html_safe end diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index 2e104bd39..fdbec6ff6 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -39,9 +39,9 @@ <table class="list related-issues"> <caption><%= l(:label_related_issues) %></caption> <%- @issues.each do |issue| -%> - <tr class="hascontextmenu"> + <tr class="issue hascontextmenu"> <td class="checkbox"><%= check_box_tag 'ids[]', issue.id, false, :id => nil %></td> - <td><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> + <td class="subject"><%= link_to_issue(issue, :project => (@project != issue.project)) %></td> </tr> <% end %> </table> |