summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2024-11-28 09:12:42 +0000
committerGo MAEDA <maeda@farend.jp>2024-11-28 09:12:42 +0000
commitb383c15720fbc75418847d7289a366a4f3d39cf6 (patch)
treea9aac67d121a43b296c849c738a93265c762687c
parentfe976455b448e1ebb19ed012bf8b3dabcb3d2676 (diff)
downloadredmine-b383c15720fbc75418847d7289a366a4f3d39cf6.tar.gz
redmine-b383c15720fbc75418847d7289a366a4f3d39cf6.zip
Replace deprecated raster icons with SVGs on Report tab of Spent Time page (#41864).
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23318 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/timelog/report.html.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb
index e0e80cd0e..180ac1512 100644
--- a/app/views/timelog/report.html.erb
+++ b/app/views/timelog/report.html.erb
@@ -1,10 +1,10 @@
<div class="contextual">
-<%= link_to l(:button_log_time),
+<%= link_to sprite_icon('time-add', l(:button_log_time)),
_new_time_entry_path(@project, @issue),
:class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %>
-<%= link_to_if_authorized l(:label_settings),
- {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'activities'},
- :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %>
+<%= link_to_if_authorized sprite_icon('settings', l(:label_settings)),
+ {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'activities'},
+ :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %>
</div>
<h2><%= @query.new_record? ? l(:label_spent_time) : @query.name %></h2>
@@ -26,7 +26,7 @@
:style => 'width: 200px',
:disabled => (@report.criteria.length >= 3),
:id => "criterias") %>
- <%= link_to l(:button_clear), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p>
+ <%= link_to sprite_icon('reload', l(:button_clear)), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p>
<%= hidden_field_tag 'encoding', l(:general_csv_encoding) unless l(:general_csv_encoding).casecmp('UTF-8') == 0 %>
<% end %>