diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-04 19:42:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-10-04 19:42:37 +0000 |
commit | 446f70f584320aa8da62b72a7116dce298eca07e (patch) | |
tree | 046ec4a3108ccd6af6ec4d70594923610408a329 /app/views/settings | |
parent | 35a059a756144384888fcc576a72d20b2417e009 (diff) | |
download | redmine-446f70f584320aa8da62b72a7116dce298eca07e.tar.gz redmine-446f70f584320aa8da62b72a7116dce298eca07e.zip |
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
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/_issues.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
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]') %> + + <p><%= 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 %></p> </fieldset> <%= submit_tag l(:button_save) %> |