summaryrefslogtreecommitdiffstats
path: root/app/views/settings
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-12 18:13:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-07-12 18:13:20 +0000
commit2a721fff4cec3d1e14c924566d0d1334152a3393 (patch)
tree666f8780bbcdc16c63c7da4d0ddb9fd0f3308d7c /app/views/settings
parentffea3d5ba3cea6a5f6b1d500ae5417fe158a4546 (diff)
downloadredmine-2a721fff4cec3d1e14c924566d0d1334152a3393.tar.gz
redmine-2a721fff4cec3d1e14c924566d0d1334152a3393.zip
Set default configuration for the timelog list (#26356).
git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/settings')
-rw-r--r--app/views/settings/_timelog.html.erb14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/settings/_timelog.html.erb b/app/views/settings/_timelog.html.erb
index 4f922011b..c4453a616 100644
--- a/app/views/settings/_timelog.html.erb
+++ b/app/views/settings/_timelog.html.erb
@@ -6,5 +6,19 @@
</div>
+<fieldset class="box">
+ <legend><%= l(:setting_time_entry_list_defaults) %></legend>
+
+ <% query = TimeEntryQuery.new(Setting.time_entry_list_defaults) %>
+ <%= render_query_columns_selection(query,
+ :name => 'settings[time_entry_list_defaults][column_names]') %>
+
+ <p>
+ <label><%= l(:label_total_plural) %></label>
+ <%= available_totalable_columns_tags(query,
+ :name => 'settings[time_entry_list_defaults][totalable_names]') %>
+ </p>
+</fieldset>
+
<%= submit_tag l(:button_save) %>
<% end %>