summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-11 21:01:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-11-11 21:01:21 +0000
commit967564cba0bdc7b75ecd3bd44a2a4ae1c7d82c64 (patch)
tree91ffba7b7f5b51365e0b20ccb555c41404337c9f /app/views/custom_fields
parent05690057590a2a8d7fe82a1d5df4412ddf879829 (diff)
downloadredmine-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/custom_fields')
-rw-r--r--app/views/custom_fields/_index.html.erb14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb
index afee212c9..d55d08cfc 100644
--- a/app/views/custom_fields/_index.html.erb
+++ b/app/views/custom_fields/_index.html.erb
@@ -1,6 +1,6 @@
<table class="list">
<thead><tr>
- <th width="30%"><%=l(:field_name)%></th>
+ <th><%=l(:field_name)%></th>
<th><%=l(:field_field_format)%></th>
<th><%=l(:field_is_required)%></th>
<% if tab[:name] == 'IssueCustomField' %>
@@ -8,17 +8,17 @@
<th><%=l(:label_used_by)%></th>
<% end %>
<th><%=l(:button_sort)%></th>
- <th width="10%"></th>
+ <th></th>
</tr></thead>
<tbody>
<% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
<tr class="<%= cycle("odd", "even") %>">
- <td><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
- <td align="center"><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %></td>
- <td align="center"><%= checked_image custom_field.is_required? %></td>
+ <td class="name"><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
+ <td><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %></td>
+ <td><%= checked_image custom_field.is_required? %></td>
<% if tab[:name] == 'IssueCustomField' %>
- <td align="center"><%= checked_image custom_field.is_for_all? %></td>
- <td align="center"><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
+ <td><%= checked_image custom_field.is_for_all? %></td>
+ <td><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
<% end %>
<td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
<td class="buttons">