I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

_list.html.erb.patch

Bruno Spyckerelle, 12 May 2013 16:56

Download (1.59 KB)

View differences:

app/views/issues/_list.html.erb (working copy)
19 19
                              :onclick => "toggleIssuesSelection(#{this_form}); return false;",
20 20
                              :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}" %>
21 21
      </th>
22
      <%= sort_header_tag('id', :caption => '#', :default_order => 'desc') %>
22
      <% if (Redmine::VERSION::MAJOR <= 2 && Redmine::VERSION::MINOR < 3) %>
23
        <%= sort_header_tag('id', :caption => '#', :default_order => 'desc') %>
24
      <% end %>
23 25
      <% inline_columns.each do |column| %>
24 26
        <%= column_header(column) %>
25 27
      <% end %>
......
43 45
  <% end %>
44 46
  <tr id="issue-<%= issue.id %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
45 47
    <td class="checkbox hide-when-print"><%= check_box_tag("ids[]", issue.id, false, :id => nil) %></td>
46
    <td class="id"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
48
    <% if (Redmine::VERSION::MAJOR <= 2 && Redmine::VERSION::MINOR < 3) %>
49
      <td class="id"><%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %></td>
50
    <% end %>
47 51
    <% inline_columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.respond_to?(:css_classes) ? column.css_classes : column.name %><% end %>
48 52
  </tr>
49 53
  <% if @query.respond_to?(:block_columns) %>
Terms of use | Privacy policy