From efc05bc73cf53e2c9d57147f7226f9b17a6350ce Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 29 Jul 2014 17:52:27 +0000 Subject: Add time entries custom fields to the context menu for quick bulk edit (#17484). git-svn-id: http://svn.redmine.org/redmine/trunk@13335 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/context_menus/time_entries.html.erb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'app/views/context_menus') diff --git a/app/views/context_menus/time_entries.html.erb b/app/views/context_menus/time_entries.html.erb index 10dbcafd2..3ab8d07aa 100644 --- a/app/views/context_menus/time_entries.html.erb +++ b/app/views/context_menus/time_entries.html.erb @@ -23,6 +23,20 @@ <% end %> + <% @options_by_custom_field.each do |field, options| %> +
  • + <%= h(field.name) %> + +
  • + <% end %> + <%= call_hook(:view_time_entries_context_menu_end, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
  • -- cgit v1.2.3