diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-24 20:41:41 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-09-24 20:41:41 +0000 |
commit | 6d01d427e86b7c1632c673defdffa31c813d300e (patch) | |
tree | 873e507f54b8d6b1d178ec69a57b447d1cca7379 /app/helpers | |
parent | 633a969d24985a2d9db9b89c93cfeddbf05ba22d (diff) | |
download | redmine-6d01d427e86b7c1632c673defdffa31c813d300e.tar.gz redmine-6d01d427e86b7c1632c673defdffa31c813d300e.zip |
Switches all icons to Material Symbols (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23077 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/icons_helper.rb | 4 | ||||
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/icons_helper.rb b/app/helpers/icons_helper.rb index db4534da5..a29d42632 100644 --- a/app/helpers/icons_helper.rb +++ b/app/helpers/icons_helper.rb @@ -18,7 +18,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. module IconsHelper - DEFAULT_ICON_SIZE = "14" + DEFAULT_ICON_SIZE = "18" DEFAULT_SPRITE = "icons" def icon_with_label(icon_name, label_text, icon_only: false, size: DEFAULT_ICON_SIZE, css_class: nil) @@ -42,7 +42,7 @@ module IconsHelper def icon_for_event_type(event_type, size: DEFAULT_ICON_SIZE, css_class: nil) icon = case event_type - when 'reply', 'issue-note' + when 'reply' 'comments' when 'time-entry' 'time' diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 070b0231a..2cd5aff61 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -185,12 +185,12 @@ module ProjectsHelper if bookmarked css << "icon-bookmark" - icon = "bookmark" + icon = "bookmark-delete" method = "delete" text = icon_with_label(icon, l(:button_project_bookmark_delete)) else css << "icon-bookmark-off" - icon = "bookmark-off" + icon = "bookmark-add" method = "post" text = icon_with_label(icon, l(:button_project_bookmark)) end |