replace tabs to spaces at app/views/workflows/_form.html.erb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6676 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d02d30a82a
commit
420e1fd090
|
@ -1,40 +1,40 @@
|
||||||
<table class="list transitions-<%= name %>">
|
<table class="list transitions-<%= name %>">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th align="left">
|
<th align="left">
|
||||||
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
|
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')",
|
||||||
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
||||||
<%=l(:label_current_status)%>
|
<%=l(:label_current_status)%>
|
||||||
</th>
|
</th>
|
||||||
<th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
|
<th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<% for new_status in @statuses %>
|
<% for new_status in @statuses %>
|
||||||
<td width="<%= 75 / @statuses.size %>%" align="center">
|
<td width="<%= 75 / @statuses.size %>%" align="center">
|
||||||
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
|
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
|
||||||
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
||||||
<%=h new_status.name %>
|
<%=h new_status.name %>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% for old_status in @statuses %>
|
<% for old_status in @statuses %>
|
||||||
<tr class="<%= cycle("odd", "even") %>">
|
<tr class="<%= cycle("odd", "even") %>">
|
||||||
<td>
|
<td>
|
||||||
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')",
|
<%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.id}')",
|
||||||
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %>
|
||||||
|
|
||||||
<%=h old_status.name %>
|
<%=h old_status.name %>
|
||||||
</td>
|
</td>
|
||||||
<% for new_status in @statuses -%>
|
<% for new_status in @statuses -%>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
|
<%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id},
|
||||||
:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
|
:class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
|
||||||
</td>
|
</td>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
</tr>
|
</tr>
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue