diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-27 23:39:10 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-27 23:39:10 +0000 |
commit | 420e1fd0900c6957b22817bb47fcd929c50617df (patch) | |
tree | 22ba2b4264e6f2e5fdf410b95df0e353ff026275 /app | |
parent | d02d30a82aa13596a9c773669c756bb3f5af2de5 (diff) | |
download | redmine-420e1fd0900c6957b22817bb47fcd929c50617df.tar.gz redmine-420e1fd0900c6957b22817bb47fcd929c50617df.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/views/workflows/_form.html.erb | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb index e5b54c074..808fb8e5f 100644 --- a/app/views/workflows/_form.html.erb +++ b/app/views/workflows/_form.html.erb @@ -1,40 +1,40 @@ <table class="list transitions-<%= name %>"> <thead> - <tr> - <th align="left"> - <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')", - :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %> + <tr> + <th align="left"> + <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('table.transitions-#{name} input')", + :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %> <%=l(:label_current_status)%> </th> - <th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th> - </tr> - <tr> - <td></td> - <% for new_status in @statuses %> - <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}')", - :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %> - <%=h new_status.name %> - </td> - <% end %> - </tr> + <th align="center" colspan="<%= @statuses.length %>"><%=l(:label_new_statuses_allowed)%></th> + </tr> + <tr> + <td></td> + <% for new_status in @statuses %> + <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}')", + :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %> + <%=h new_status.name %> + </td> + <% end %> + </tr> </thead> <tbody> - <% for old_status in @statuses %> - <tr class="<%= cycle("odd", "even") %>"> - <td> - <%= 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)}") %> - - <%=h old_status.name %> - </td> - <% for new_status in @statuses -%> - <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}, - :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %> - </td> - <% end -%> - </tr> - <% end %> + <% for old_status in @statuses %> + <tr class="<%= cycle("odd", "even") %>"> + <td> + <%= 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)}") %> + + <%=h old_status.name %> + </td> + <% for new_status in @statuses -%> + <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}, + :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %> + </td> + <% end -%> + </tr> + <% end %> </tbody> -</table>
\ No newline at end of file +</table> |