From 446f70f584320aa8da62b72a7116dce298eca07e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 4 Oct 2015 19:42:37 +0000 Subject: Adds options to display totals on the issue list (#1561). Works for estimated hours, spent hours and any numeric custom field. git-svn-id: http://svn.redmine.org/redmine/trunk@14642 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/settings/_issues.html.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/views/settings') diff --git a/app/views/settings/_issues.html.erb b/app/views/settings/_issues.html.erb index b3533bbd1..f29a6d4ec 100644 --- a/app/views/settings/_issues.html.erb +++ b/app/views/settings/_issues.html.erb @@ -38,6 +38,11 @@ <%= render_query_columns_selection( IssueQuery.new(:column_names => Setting.issue_list_default_columns), :name => 'settings[issue_list_default_columns]') %> + +

<%= setting_multiselect :issue_list_default_totals, + IssueQuery.new(:totalable_names => Setting.issue_list_default_totals).available_totalable_columns.map {|c| [c.caption, c.name.to_s]}, + :inline => true, + :label => :label_total_plural %>

<%= submit_tag l(:button_save) %> -- cgit v1.2.3