Project

General

Profile

Patch #13696 » projects_admin_show_issues_count_v2.diff

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

View differences:

app/views/admin/projects.html.erb (working copy)
<thead><tr>
<th><%=l(:label_project)%></th>
<th><%=l(:field_is_public)%></th>
<th><%=l(:label_issue_plural)%></th>
<th><%=l(:field_created_on)%></th>
<th></th>
</tr></thead>
......
<tr class="<%= cycle("odd", "even") %> <%= project.css_classes %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>">
<td class="name"><span><%= link_to_project_settings(project, {}, :title => project.short_description) %></span></td>
<td><%= checked_image project.is_public? %></td>
<td><%= project.issues.count %></td>
<td><%= format_date(project.created_on) %></td>
<td class="buttons">
<%= 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? %>
(2-2/5)