projects_admin_show_issues_count_v2.diff

patch applicable to r15058 - Go MAEDA, 2016-01-11 07:13

Download (1.04 KB)

View differences:

app/views/admin/projects.html.erb (working copy)
21 21
  <thead><tr>
22 22
  <th><%=l(:label_project)%></th>
23 23
  <th><%=l(:field_is_public)%></th>
24
  <th><%=l(:label_issue_plural)%></th>
24 25
  <th><%=l(:field_created_on)%></th>
25 26
  <th></th>
26 27
  </tr></thead>
......
29 30
  <tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
30 31
  <td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td>
31 32
  <td><%= checked_image project.is_public? %></td>
33
  <td><%= project.issues.count %></td>
32 34
  <td><%= format_date(project.created_on) %></td>
33 35
  <td class="buttons">
34 36
    <%= link_to(l(:button_archive), archive_project_path(project, :status => params[:status]), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock') unless project.archived? %>