From c81c9333e356a9cb7ddd3e9dc8ee206be6993e3c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 18 Sep 2011 02:03:31 +0000 Subject: [PATCH] replace tabs to spaces at app/views/custom_fields/_index.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7385 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/custom_fields/_index.html.erb | 54 ++++++++++++------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/app/views/custom_fields/_index.html.erb b/app/views/custom_fields/_index.html.erb index a6495fbfe..ccbacde1d 100644 --- a/app/views/custom_fields/_index.html.erb +++ b/app/views/custom_fields/_index.html.erb @@ -1,34 +1,34 @@ - - - - <% if tab[:name] == 'IssueCustomField' %> - - - <% end %> - - + + + + <% if tab[:name] == 'IssueCustomField' %> + + + <% end %> + + - <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> - "> - - - - <% if tab[:name] == 'IssueCustomField' %> - - - <% end %> - - - - <% end; reset_cycle %> + <% (@custom_fields_by_type[tab[:name]] || []).sort.each do |custom_field| -%> + "> + + + + <% if tab[:name] == 'IssueCustomField' %> + + + <% end %> + + + + <% end; reset_cycle %>
<%=l(:field_name)%><%=l(:field_field_format)%><%=l(:field_is_required)%><%=l(:field_is_for_all)%><%=l(:label_used_by)%><%=l(:button_sort)%><%=l(:field_name)%><%=l(:field_field_format)%><%=l(:field_is_required)%><%=l(:field_is_for_all)%><%=l(:label_used_by)%><%=l(:button_sort)%>
<%= link_to h(custom_field.name), :action => 'edit', :id => custom_field %><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %><%= checked_image custom_field.is_required? %><%= checked_image 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? %><%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %> - <%= link_to(l(:button_delete), { :action => 'destroy', :id => custom_field }, - :method => :post, - :confirm => l(:text_are_you_sure), - :class => 'icon icon-del') %> -
<%= link_to h(custom_field.name), :action => 'edit', :id => custom_field %><%= l(Redmine::CustomFieldFormat.label_for(custom_field.field_format)) %><%= checked_image custom_field.is_required? %><%= checked_image 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? %><%= reorder_links('custom_field', {:action => 'edit', :id => custom_field}) %> + <%= link_to(l(:button_delete), { :action => 'destroy', :id => custom_field }, + :method => :post, + :confirm => l(:text_are_you_sure), + :class => 'icon icon-del') %> +