diff options
Diffstat (limited to 'app/views/settings/_timelog.html.erb')
-rw-r--r-- | app/views/settings/_timelog.html.erb | 14 |
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 %> |