<%=l(:field_name)%> |
<%=l(:field_field_format)%> |
<%=l(:field_is_required)%> |
<% if tab[:name] == 'IssueCustomField' %>
<%=l(:field_is_for_all)%> |
<%=l(:label_used_by)%> |
<% end %>
<%=l(:button_sort)%> |
|
<% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%>
">
<%= link_to custom_field.name, :action => 'edit', :id => custom_field %> |
<%= l(CustomField::FIELD_FORMATS[custom_field.field_format][:name]) %> |
<%= image_tag 'true.png' if custom_field.is_required? %> |
<% if tab[:name] == 'IssueCustomField' %>
<%= image_tag 'true.png' if custom_field.is_for_all? %> |
<%= l(:label_x_projects, :count => custom_field.projects.count) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %> |
<% end %>
<%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %> |
<%= button_to l(:button_delete), { :action => 'destroy', :id => custom_field }, :confirm => l(:text_are_you_sure), :class => "button-small" %>
|
<% end; reset_cycle %>
<%= link_to l(:label_custom_field_new), {:action => 'new', :type => tab[:name]}, :class => 'icon icon-add' %>
<% end %>
<% html_title(l(:label_custom_field_plural)) -%>