summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-24 20:41:41 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-24 20:41:41 +0000
commit6d01d427e86b7c1632c673defdffa31c813d300e (patch)
tree873e507f54b8d6b1d178ec69a57b447d1cca7379 /app/views
parent633a969d24985a2d9db9b89c93cfeddbf05ba22d (diff)
downloadredmine-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/views')
-rw-r--r--app/views/context_menus/issues.html.erb2
-rw-r--r--app/views/issues/_action_menu.html.erb2
-rw-r--r--app/views/my/blocks/_timelog.html.erb2
-rw-r--r--app/views/projects/show.html.erb14
-rw-r--r--app/views/timelog/index.html.erb2
5 files changed, 12 insertions, 10 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb
index 9b9c7f07a..bb8f2add6 100644
--- a/app/views/context_menus/issues.html.erb
+++ b/app/views/context_menus/issues.html.erb
@@ -149,7 +149,7 @@
<% if @issue.present? %>
<% if @can[:log_time] -%>
- <li><%= context_menu_link icon_with_label('time', l(:button_log_time)), new_issue_time_entry_path(@issue),
+ <li><%= context_menu_link icon_with_label('time-add', l(:button_log_time)), new_issue_time_entry_path(@issue),
:class => 'icon icon-time-add' %></li>
<% end %>
<% if @can[:add_subtask] -%>
diff --git a/app/views/issues/_action_menu.html.erb b/app/views/issues/_action_menu.html.erb
index abb157d5a..14de05de8 100644
--- a/app/views/issues/_action_menu.html.erb
+++ b/app/views/issues/_action_menu.html.erb
@@ -2,7 +2,7 @@
<%= link_to icon_with_label('edit', l(:button_edit)), edit_issue_path(@issue),
:onclick => 'showAndScrollTo("update", "issue_notes"); return false;',
:class => 'icon icon-edit ', :accesskey => accesskey(:edit) if @issue.editable? %>
-<%= link_to icon_with_label('time', l(:button_log_time)), new_issue_time_entry_path(@issue),
+<%= link_to icon_with_label('time-add', l(:button_log_time)), new_issue_time_entry_path(@issue),
:class => 'icon icon-time-add ' if User.current.allowed_to?(:log_time, @project) %>
<%= watcher_link(@issue, User.current) %>
<%= link_to icon_with_label('copy', l(:button_copy)), project_copy_issue_path(@project, @issue),
diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb
index 95dc15e49..2ba53f4f8 100644
--- a/app/views/my/blocks/_timelog.html.erb
+++ b/app/views/my/blocks/_timelog.html.erb
@@ -5,7 +5,7 @@
<h3>
<%= link_to l(:label_spent_time), time_entries_path(:user_id => 'me') %>
(<%= l(:label_last_n_days, days) %>: <%= l_hours_short entries.sum(&:hours) %>)
- <%= link_to icon_with_label('add', l(:button_log_time)), new_time_entry_path, :class => "icon-only icon-add", :title => l(:button_log_time) if User.current.allowed_to?(:log_time, nil, :global => true) %>
+ <%= link_to icon_with_label('time-add', l(:button_log_time)), new_time_entry_path, :class => "icon-only icon-add", :title => l(:button_log_time) if User.current.allowed_to?(:log_time, nil, :global => true) %>
</h3>
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index d54f36f0d..f8532ab91 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -134,12 +134,14 @@
<% if @subprojects.any? %>
<div class="projects box">
<h3 class="icon icon-projects"><%= icon_with_label('projects', l(:label_subproject_plural)) %></h3>
- <ul class="subprojects">
- <% @subprojects.each do |project| %>
- <li><%= link_to(project.name, project_path(project), :class => project.css_classes).html_safe %></li>
- <% end %>
- </ul>
- </div>
+ <div>
+ <ul class="subprojects">
+ <% @subprojects.each do |project| %>
+ <li><%= link_to(project.name, project_path(project), :class => project.css_classes).html_safe %></li>
+ <% end %>
+ </ul>
+ </div>
+ </div>
<% end %>
<%= call_hook(:view_projects_show_right, :project => @project) %>
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index 9259c97b6..ee7752a70 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -1,5 +1,5 @@
<div class="contextual">
-<%= link_to icon_with_label('time', l(:button_log_time)),
+<%= link_to icon_with_label('time-add', l(:button_log_time)),
_new_time_entry_path(@project, @query.filtered_issue_id),
:class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %>
<%= actions_dropdown do %>