comparison .svn/pristine/06/067d843bc0cda3da0f5457a92adeb100a2eb241d.svn-base @ 1517:dffacf8a6908 redmine-2.5

Update to Redmine SVN revision 13367 on 2.5-stable branch
author Chris Cannam
date Tue, 09 Sep 2014 09:29:00 +0100
parents
children
comparison
equal deleted inserted replaced
1516:b450a9d58aed 1517:dffacf8a6908
1 <table class="list">
2 <thead><tr>
3 <th><%=l(:field_name)%></th>
4 <th><%=l(:field_field_format)%></th>
5 <th><%=l(:field_is_required)%></th>
6 <% if tab[:name] == 'IssueCustomField' %>
7 <th><%=l(:field_is_for_all)%></th>
8 <th><%=l(:label_used_by)%></th>
9 <% end %>
10 <th><%=l(:button_sort)%></th>
11 <th></th>
12 </tr></thead>
13 <tbody>
14 <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
15 <tr class="<%= cycle("odd", "even") %>">
16 <td class="name"><%= link_to h(custom_field.name), edit_custom_field_path(custom_field) %></td>
17 <td><%= l(custom_field.format.label) %></td>
18 <td><%= checked_image custom_field.is_required? %></td>
19 <% if tab[:name] == 'IssueCustomField' %>
20 <td><%= checked_image custom_field.is_for_all? %></td>
21 <td><%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
22 <% end %>
23 <td class="reorder"><%= reorder_links('custom_field', {:action => 'update', :id => custom_field}, :put) %></td>
24 <td class="buttons">
25 <%= delete_link custom_field_path(custom_field) %>
26 </td>
27 </tr>
28 <% end; reset_cycle %>
29 </tbody>
30 </table>