diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-11 21:01:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-11 21:01:21 +0000 |
commit | 967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64 (patch) | |
tree | 91ffba7b7f5b51365e0b20ccb555c41404337c9f /app/views/enumerations | |
parent | 05690057590a2a8d7fe82a1d5df4412ddf879829 (diff) | |
download | redmine-967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64.tar.gz redmine-967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64.zip |
Removed deprecated align and width html attributes (#15307).
git-svn-id: http://svn.redmine.org/redmine/trunk@12268 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/enumerations')
-rw-r--r-- | app/views/enumerations/index.html.erb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/app/views/enumerations/index.html.erb b/app/views/enumerations/index.html.erb index d8aa921c2..684b933a6 100644 --- a/app/views/enumerations/index.html.erb +++ b/app/views/enumerations/index.html.erb @@ -8,20 +8,18 @@ <table class="list"><thead> <tr> <th><%= l(:field_name) %></th> - <th style="width:15%;"><%= l(:field_is_default) %></th> - <th style="width:15%;"><%= l(:field_active) %></th> - <th style="width:15%;"><%=l(:button_sort)%></th> - <th align="center" style="width:10%;"> </th> + <th><%= l(:field_is_default) %></th> + <th><%= l(:field_active) %></th> + <th><%=l(:button_sort)%></th> + <th></th> </tr></thead> <% enumerations.each do |enumeration| %> <tr class="<%= cycle('odd', 'even') %>"> - <td><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td> - <td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td> - <td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td> + <td class="name"><%= link_to h(enumeration), edit_enumeration_path(enumeration) %></td> + <td class="tick"><%= checked_image enumeration.is_default? %></td> + <td class="tick"><%= checked_image enumeration.active? %></td> <td class="reorder"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}, :put) %></td> - <td class="buttons"> - <%= delete_link enumeration_path(enumeration) %> - </td> + <td class="buttons"><%= delete_link enumeration_path(enumeration) %></td> </tr> <% end %> </table> |