From 433dd9b90b74c462f86102aa1b732b9fb1b7f28b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 20 Dec 2019 08:24:07 +0000 Subject: [PATCH] Add missing icons to action links. git-svn-id: http://svn.redmine.org/redmine/trunk@19383 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/index.html.erb | 4 ++-- app/views/timelog/index.html.erb | 2 +- public/images/database_go.png | Bin 0 -> 698 bytes public/stylesheets/application.css | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 public/images/database_go.png diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 3377fd681..fccf118c9 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -4,11 +4,11 @@ <% end %> <%= actions_dropdown do %> <% if @project %> - <%= link_to l(:field_summary), project_issues_report_path(@project) %> + <%= link_to l(:field_summary), project_issues_report_path(@project), :class => 'icon icon-stats' %> <% end %> <% if User.current.allowed_to?(:import_issues, @project, :global => true) %> - <%= link_to l(:button_import), new_issues_import_path(:project_id => @project) %> + <%= link_to l(:button_import), new_issues_import_path(:project_id => @project), :class => 'icon icon-import' %> <% end %> <%= link_to_if_authorized l(:label_settings), diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb index c34a24409..b9afc7475 100644 --- a/app/views/timelog/index.html.erb +++ b/app/views/timelog/index.html.erb @@ -4,7 +4,7 @@ :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %> <%= actions_dropdown do %> <% if User.current.allowed_to?(:import_time_entries, @project, :global => true) %> - <%= link_to l(:button_import), new_time_entries_import_path(:project_id => @project) %> + <%= link_to l(:button_import), new_time_entries_import_path(:project_id => @project), :class => 'icon icon-import' %> <% end %> <%= link_to_if_authorized l(:label_settings), diff --git a/public/images/database_go.png b/public/images/database_go.png new file mode 100644 index 0000000000000000000000000000000000000000..61a8556c403a1b56cb7719f4916d07ed82cd55ff GIT binary patch literal 698 zcmV;r0!96aP)U4c>+hFP*|&0tGt{!YG|5fRw@-UpUxK})gOY{KjH!sGG4?RHzSe!mY<6j86&kw_%0+>rt+UvTG zPNxG!QLHl_`>TN6lhf(69Pnfg>e~`ot!6OL_K}%<0mC@>2*2;ZcEFQ4iGwF{@R*{j z7!M|qd3hZgQye2(un7;}EWl(MRHj3v{mH--l93DO%KKRTaX^3MX`58z^<+{ z6<23&!!Q{PW`ItyBW>gC_$Bnz0p8cvrP&8U;E(_Zug)QpWlpZPzmjE&ksHm>&{4WL zcWMqjtuMUYDzy&;xOM)i=ubqW(I5dCx}hU{e1gb^CAKTo5EzT#!}bO?zL#36j`?8+ z3*~b8c`}*w$6_%IbOkHrWx4~^auW|u<6?Xs@2VxNZ5G?Ij>|hs<|oJSYs}?xlO%MH zkQM~t1b+*>9q#P0c*i_HG3Qv{e6_1E^9qr_9C}QDj%+r2jL4@6j4t)_BWY1InA104 gM*QcJxn<}50%n)c1HutrKL7v#07*qoM6N<$f)5Qpt^fc4 literal 0 HcmV?d00001 diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 834dead9d..b083d5156 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -1533,6 +1533,7 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container { .icon-toggle-plus { background-image: url(../images/bullet_toggle_plus.png) } .icon-toggle-minus { background-image: url(../images/bullet_toggle_minus.png) } .icon-clear-query { background-image: url(../images/close_hl.png); } +.icon-import { background-image: url(../images/database_go.png); } .icon-file { background-image: url(../images/files/default.png); } .icon-file.text-plain { background-image: url(../images/files/text.png); }