##// END OF EJS Templates
code layout cleanup app/views/issues/_list.html.erb...
Toshi MARUYAMA -
r10263:d1d86408224e
parent child
Show More
@@ -2,15 +2,19
2 <%= hidden_field_tag 'back_url', url_for(params), :id => nil %>
2 <%= hidden_field_tag 'back_url', url_for(params), :id => nil %>
3 <div class="autoscroll">
3 <div class="autoscroll">
4 <table class="list issues">
4 <table class="list issues">
5 <thead><tr>
5 <thead>
6 <th class="checkbox hide-when-print"><%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(this); return false;',
6 <tr>
7 <th class="checkbox hide-when-print">
8 <%= link_to image_tag('toggle_check.png'), {},
9 :onclick => 'toggleIssuesSelection(this); return false;',
7 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
10 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
8 </th>
11 </th>
9 <%= sort_header_tag('id', :caption => '#', :default_order => 'desc') %>
12 <%= sort_header_tag('id', :caption => '#', :default_order => 'desc') %>
10 <% query.columns.each do |column| %>
13 <% query.columns.each do |column| %>
11 <%= column_header(column) %>
14 <%= column_header(column) %>
12 <% end %>
15 <% end %>
13 </tr></thead>
16 </tr>
17 </thead>
14 <% previous_group = false %>
18 <% previous_group = false %>
15 <tbody>
19 <tbody>
16 <% issue_list(issues) do |issue, level| -%>
20 <% issue_list(issues) do |issue, level| -%>
@@ -20,7 +24,8
20 <td colspan="<%= query.columns.size + 2 %>">
24 <td colspan="<%= query.columns.size + 2 %>">
21 <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
25 <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
22 <%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>)</span>
26 <%= group.blank? ? 'None' : column_content(@query.group_by_column, issue) %> <span class="count">(<%= @issue_count_by_group[group] %>)</span>
23 <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}", "toggleAllRowGroups(this)", :class => 'toggle-all') %>
27 <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",
28 "toggleAllRowGroups(this)", :class => 'toggle-all') %>
24 </td>
29 </td>
25 </tr>
30 </tr>
26 <% previous_group = group %>
31 <% previous_group = group %>
General Comments 0
You need to be logged in to leave comments. Login now