Feature #691 » 691-v3.patch
| app/assets/stylesheets/application.css | ||
|---|---|---|
|
tr.idnt-9 td.subject, tr.idnt-9 td.name {padding-left: 152px; background-position: 136px 50%;}
|
||
|
table.issue-report {table-layout:fixed;}
|
||
|
table.issue-report tr.total, table.issue-report-detailed tr.total { font-weight: bold; border-top:2px solid #d0d7de;}
|
||
|
.issue-report-graph {width: 75%; margin: 2em 0;}
|
||
|
tr.entry td { white-space: nowrap; }
|
||
| app/views/reports/_details.html.erb | ||
|---|---|---|
|
</tr>
|
||
|
<% end %>
|
||
|
</tbody>
|
||
|
<tfoot>
|
||
|
<tr class="total">
|
||
|
<td><%= l(:label_total) %></td>
|
||
|
<% for status in @statuses %>
|
||
|
<td><%= aggregate data, { "status_id" => status.id } %></td>
|
||
|
<% end %>
|
||
|
<td><%= aggregate data, { "closed" => 0 } %></td>
|
||
|
<td><%= aggregate data, { "closed" => 1 } %></td>
|
||
|
<td><%= aggregate data, { } %></td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</table>
|
||
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
| app/views/reports/_simple.html.erb | ||
|---|---|---|
|
<td><%= aggregate_link data, { field_name => row.id }, aggregate_path(@project, field_name, row, :status_id => "*", :subproject_id => nil) %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
<tfoot>
|
||
|
<tr class="total">
|
||
|
<td><%= l(:label_total) %></td>
|
||
|
<td><%= aggregate data, { "closed" => 0 } %></td>
|
||
|
<td><%= aggregate data, { "closed" => 1 } %></td>
|
||
|
<td><%= aggregate data, { } %></td>
|
||
|
</tr>
|
||
|
</tfoot>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<% end %>
|
||
| test/functional/reports_controller_test.rb | ||
|---|---|---|
|
assert_select ':nth-child(9)', :text => '1' # closed
|
||
|
assert_select ':nth-child(10)', :text => '3' # total
|
||
|
end
|
||
|
assert_select 'table.list tfoot :nth-child(1)' do
|
||
|
assert_select 'td', :text => 'Totals'
|
||
|
assert_select ':nth-child(2)', :text => '3' # status:1
|
||
|
assert_select ':nth-child(3)', :text => '0' # status:2
|
||
|
assert_select ':nth-child(4)', :text => '0' # status:3
|
||
|
assert_select ':nth-child(5)', :text => '0' # status:4
|
||
|
assert_select ':nth-child(6)', :text => '1' # status:5
|
||
|
assert_select ':nth-child(8)', :text => '3' # open
|
||
|
assert_select ':nth-child(9)', :text => '1' # closed
|
||
|
assert_select ':nth-child(10)', :text => '4' # total
|
||
|
end
|
||
|
end
|
||
|
def test_get_issue_report_details_by_assignee_should_show_non_assigned_issue_count
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »