summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects')
-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>