diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-08-29 21:46:40 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-08-29 21:46:40 +0000 |
commit | ffce07e78556580e503a93d6f8decb25a15823b7 (patch) | |
tree | 740ea59d0469c5857408641df9a32d5f2a7aac39 /app/views/issue_statuses | |
parent | fdd90bab2b02d6fdd08a860808560eb2cf382af6 (diff) | |
download | redmine-ffce07e78556580e503a93d6f8decb25a15823b7.tar.gz redmine-ffce07e78556580e503a93d6f8decb25a15823b7.zip |
Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.
git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_statuses')
-rw-r--r-- | app/views/issue_statuses/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issue_statuses/index.html.erb b/app/views/issue_statuses/index.html.erb index 509abd831..16df17943 100644 --- a/app/views/issue_statuses/index.html.erb +++ b/app/views/issue_statuses/index.html.erb @@ -1,6 +1,6 @@ <div class="contextual"> -<%= link_to l(:label_issue_status_new), new_issue_status_path, :class => 'icon icon-add' %> -<%= link_to(l(:label_update_issue_done_ratios), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :data => {:confirm => l(:text_are_you_sure)}) if Issue.use_status_for_done_ratio? %> +<%= link_to(icon_with_label('add', l(:label_issue_status_new)), new_issue_status_path, :class => 'icon icon-add') %> +<%= link_to(icon_with_label('multiple', l(:label_update_issue_done_ratios)), update_issue_done_ratio_issue_statuses_path, :class => 'icon icon-multiple', :method => 'post', :data => {:confirm => l(:text_are_you_sure)}) if Issue.use_status_for_done_ratio? %> </div> <h2><%=l(:label_issue_status_plural)%></h2> |