diff options
author | Go MAEDA <maeda@farend.jp> | 2018-09-14 00:23:02 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2018-09-14 00:23:02 +0000 |
commit | f288ccb9871fc4d5271b3d5c40a68f487c5b4ae5 (patch) | |
tree | 0017f0cd883e16d93e03e6a3939287adf1cf69f1 /app | |
parent | c04ab14ed4843baa0a7d55fe61a7377bb4909880 (diff) | |
download | redmine-f288ccb9871fc4d5271b3d5c40a68f487c5b4ae5.tar.gz redmine-f288ccb9871fc4d5271b3d5c40a68f487c5b4ae5.zip |
Add "icon" class to items in time entries context menu (#28605).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17481 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/context_menus/time_entries.html.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/context_menus/time_entries.html.erb b/app/views/context_menus/time_entries.html.erb index 33e0aa1f3..9d999d95e 100644 --- a/app/views/context_menus/time_entries.html.erb +++ b/app/views/context_menus/time_entries.html.erb @@ -1,10 +1,10 @@ <ul> <% if !@time_entry.nil? -%> <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => @time_entry}, - :class => 'icon-edit', :disabled => !@can[:edit] %></li> + :class => 'icon icon-edit', :disabled => !@can[:edit] %></li> <% else %> <li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)}, - :class => 'icon-edit', :disabled => !@can[:edit] %></li> + :class => 'icon icon-edit', :disabled => !@can[:edit] %></li> <% end %> <%= call_hook(:view_time_entries_context_menu_start, {:time_entries => @time_entries, :can => @can, :back => @back }) %> @@ -40,6 +40,6 @@ <li> <%= context_menu_link l(:button_delete), {:controller => 'timelog', :action => 'destroy', :ids => @time_entries.collect(&:id), :back_url => @back}, - :method => :delete, :data => {:confirm => l(:text_time_entries_destroy_confirmation)}, :class => 'icon-del', :disabled => !@can[:delete] %> + :method => :delete, :data => {:confirm => l(:text_time_entries_destroy_confirmation)}, :class => 'icon icon-del', :disabled => !@can[:delete] %> </li> </ul> |