summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:06:04 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-05 20:06:04 +0000
commit31c4eddfbfda4d100e695196236aa7c9b8ea54a5 (patch)
tree631caf4b749c1cb0a49cc28ff3600157b6741e7d /app/views
parent622bfcde9d6b8f2717d26efd8551bbd8bf8a6030 (diff)
downloadredmine-31c4eddfbfda4d100e695196236aa7c9b8ea54a5.tar.gz
redmine-31c4eddfbfda4d100e695196236aa7c9b8ea54a5.zip
Replaces icons from projects listing and project overview tab with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23017 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_members_box.html.erb2
-rw-r--r--app/views/projects/show.html.erb10
2 files changed, 6 insertions, 6 deletions
diff --git a/app/views/projects/_members_box.html.erb b/app/views/projects/_members_box.html.erb
index b5bb46e3a..658170968 100644
--- a/app/views/projects/_members_box.html.erb
+++ b/app/views/projects/_members_box.html.erb
@@ -1,6 +1,6 @@
<% if @principals_by_role.any? %>
<div class="members box">
- <h3 class="icon icon-group"><%=l(:label_member_plural)%></h3>
+ <h3 class="icon icon-group"><%= icon_with_label('group', l(:label_member_plural)) %></h3>
<% @principals_by_role.keys.sort.each do |role| %>
<p><span class="label"><%= role %>:</span> <%= @principals_by_role[role].sort.collect{|p| link_to_principal(p, :class => p.is_a?(Group) ? 'icon icon-group' : nil)}.join(", ").html_safe %></p>
<% end %>
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index ed2f904ee..d54f36f0d 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -24,7 +24,7 @@
<h2><%=l(:label_overview)%></h2>
<% unless @project.active? %>
- <p class="warning"><span class="icon icon-lock"><%= l(:text_project_closed) %></span></p>
+ <p class="warning"><span class="icon icon-lock"><%= icon_with_label('lock', l(:text_project_closed)) %></span></p>
<% end %>
<div class="splitcontent">
@@ -48,8 +48,8 @@
<% if User.current.allowed_to?(:view_issues, @project) %>
<div class="issues box">
<h3 class="icon icon-issue">
- <%=l(:label_issue_tracking)%>&nbsp;
- <%= link_to l(:label_details),
+ <%= icon_with_label('issue', l(:label_issue_tracking)) %>&nbsp;
+ <%= link_to icon_with_label('zoom-in', l(:label_details)),
project_issues_report_details_path(@project, :detail => 'tracker'),
:class => 'icon-only icon-zoom-in',
:title => l(:label_details) %>
@@ -99,7 +99,7 @@
<% if User.current.allowed_to?(:view_time_entries, @project) %>
<div class="spent_time box">
- <h3 class="icon icon-time"><%= l(:label_time_tracking) %></h3>
+ <h3 class="icon icon-time"><%= icon_with_label('time', l(:label_time_tracking)) %></h3>
<ul>
<% if @total_estimated_hours.present? %>
<li><%= l(:field_estimated_hours) %>: <%= l_hours(@total_estimated_hours) %>
@@ -133,7 +133,7 @@
<% if @subprojects.any? %>
<div class="projects box">
- <h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
+ <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>