annotate .svn/pristine/bd/bd28ebed5ff75e171d4be4be4a90cc87c79d9d52.svn-base @ 1327:287f201c2802 redmine-2.2-integration

Add italic
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 19 Jun 2013 20:56:22 +0100
parents 038ba2d95de8
children
rev   line source
Chris@1296 1 <%= form_tag({}) do -%>
Chris@1296 2 <%= hidden_field_tag 'back_url', url_for(params), :id => nil %>
Chris@1296 3 <div class="autoscroll">
Chris@1296 4 <table class="list issues">
Chris@1296 5 <thead>
Chris@1296 6 <tr>
Chris@1296 7 <th class="checkbox hide-when-print">
Chris@1296 8 <%= link_to image_tag('toggle_check.png'), {},
Chris@1296 9 :onclick => 'toggleIssuesSelection(this); return false;',
Chris@1296 10 :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
Chris@1296 11 </th>
Chris@1296 12 <%= sort_header_tag('id', :caption => '#', :default_order => 'desc') %>
Chris@1296 13 <% query.inline_columns.each do |column| %>
Chris@1296 14 <%= column_header(column) %>
Chris@1296 15 <% end %>
Chris@1296 16 </tr>
Chris@1296 17 </thead>
Chris@1296 18 <% previous_group = false %>
Chris@1296 19 <tbody>
Chris@1296 20 <% issue_list(issues) do |issue, level| -%>
Chris@1296 21 <% if @query.grouped? && (group = @query.group_by_column.value(issue)) != previous_group %>
Chris@1296 22 <% reset_cycle %>
Chris@1296 23 <tr class="group open">
Chris@1296 24 <td colspan="<%= query.inline_columns.size + 2 %>">
Chris@1296 25 <span class="expander" onclick="toggleRowGroup(this);">&nbsp;</span>
Chris@1296 26 <%= group.blank? ? l(:label_none) : column_content(@query.group_by_column, issue) %> <span class="count"><%= @issue_count_by_group[group] %></span>
Chris@1296 27 <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}",
Chris@1296 28 "toggleAllRowGroups(this)", :class => 'toggle-all') %>
Chris@1296 29 </td>
Chris@1296 30 </tr>
Chris@1296 31 <% previous_group = group %>
Chris@1296 32 <% end %>
Chris@1296 33 <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
Chris@1296 34 <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
Chris@1296 35 <td class="id"><%= link_to issue.id, issue_path(issue) %></td>
Chris@1296 36 <%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %>
Chris@1296 37 </tr>
Chris@1296 38 <% @query.block_columns.each do |column|
Chris@1296 39 if (text = column_content(column, issue)) && text.present? -%>
Chris@1296 40 <tr class="<%= current_cycle %>">
Chris@1296 41 <td colspan="<%= @query.inline_columns.size + 2 %>" class="<%= column.css_classes %>"><%= text %></td>
Chris@1296 42 </tr>
Chris@1296 43 <% end -%>
Chris@1296 44 <% end -%>
Chris@1296 45 <% end -%>
Chris@1296 46 </tbody>
Chris@1296 47 </table>
Chris@1296 48 </div>
Chris@1296 49 <% end -%>