39 |
39 |
<% if User.current.allowed_to?(:view_issues, @project) %>
|
40 |
40 |
<div class="issues box">
|
41 |
41 |
<h3><%=l(:label_issue_tracking)%></h3>
|
42 |
|
<ul>
|
43 |
|
<% for tracker in @trackers %>
|
44 |
|
<li><%= link_to tracker.name, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>:
|
45 |
|
<%= l(:label_x_open_issues_abbr_on_total, :count => @open_issues_by_tracker[tracker].to_i,
|
46 |
|
:total => @total_issues_by_tracker[tracker].to_i) %>
|
47 |
|
</li>
|
48 |
|
<% end %>
|
49 |
|
</ul>
|
|
42 |
<table class="list issue-report">
|
|
43 |
<thead>
|
|
44 |
<tr>
|
|
45 |
<th></th>
|
|
46 |
<th><%=l(:label_open_issues_plural)%></th>
|
|
47 |
<th><%=l(:label_closed_issues_plural)%></th>
|
|
48 |
<th><%=l(:label_total)%></th>
|
|
49 |
</tr>
|
|
50 |
</thead>
|
|
51 |
<tbody>
|
|
52 |
<% @trackers.each do |tracker| %>
|
|
53 |
<tr class="<%= cycle("odd", "even") %>">
|
|
54 |
<td class="name">
|
|
55 |
<%= link_to tracker.name, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>
|
|
56 |
</td>
|
|
57 |
<td>
|
|
58 |
<%= link_to @open_issues_by_tracker[tracker].to_i, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id) %>
|
|
59 |
</td>
|
|
60 |
<td>
|
|
61 |
<%= link_to (@total_issues_by_tracker[tracker].to_i - @open_issues_by_tracker[tracker].to_i), project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id, :status_id => 'c') %>
|
|
62 |
</td>
|
|
63 |
<td>
|
|
64 |
<%= link_to @total_issues_by_tracker[tracker].to_i, project_issues_path(@project, :set_filter => 1, :tracker_id => tracker.id, :status_id => '*') %>
|
|
65 |
</td>
|
|
66 |
</tr>
|
|
67 |
<% end %>
|
|
68 |
</tbody>
|
|
69 |
</table>
|
50 |
70 |
<p>
|
51 |
71 |
<%= link_to l(:label_issue_view_all), project_issues_path(@project, :set_filter => 1) %>
|
52 |
72 |
<% if User.current.allowed_to?(:view_calendar, @project, :global => true) %>
|