summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-18 14:45:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-11-18 14:45:33 +0000
commit06b97bd91d2b916a3f21ea4bd626e941d235cb44 (patch)
tree77768a01f42bc882dfc3516f3a16cae8cd344bbd /app
parent5a7211f70e4b52e40a96d5f0c2fd7158a8fbd1e9 (diff)
downloadredmine-06b97bd91d2b916a3f21ea4bd626e941d235cb44.tar.gz
redmine-06b97bd91d2b916a3f21ea4bd626e941d235cb44.zip
Use the regular "icon icon-*" on project overview (#24313).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@15973 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-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 7ac4b2cd7..1a088ead4 100644
--- a/app/views/projects/_members_box.html.erb
+++ b/app/views/projects/_members_box.html.erb
@@ -1,6 +1,6 @@
<% if @users_by_role.any? %>
<div class="members box">
- <h3><%=l(:label_member_plural)%></h3>
+ <h3 class="icon icon-group"><%=l(:label_member_plural)%></h3>
<% @users_by_role.keys.sort.each do |role| %>
<p><span class="label"><%= role %>:</span> <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ").html_safe %></p>
<% end %>
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index d0d83e267..87e398ee4 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -36,7 +36,7 @@
<% if User.current.allowed_to?(:view_issues, @project) %>
<div class="issues box">
- <h3><%=l(:label_issue_tracking)%></h3>
+ <h3 class="icon icon-issue"><%=l(:label_issue_tracking)%></h3>
<% if @trackers.present? %>
<table class="list issue-report">
<thead>
@@ -78,10 +78,10 @@
</p>
</div>
<% end %>
-
+
<% if User.current.allowed_to?(:view_time_entries, @project) %>
<div class="spent_time box">
- <h3><%= l(:label_spent_time) %></h3>
+ <h3 class="icon icon-time"><%= l(:label_spent_time) %></h3>
<% if @total_hours.present? %>
<p><%= l_hours(@total_hours) %></p>
<% end %>
@@ -102,7 +102,7 @@
<% if @news.any? && authorize_for('news', 'index') %>
<div class="news box">
- <h3><%=l(:label_news_latest)%></h3>
+ <h3 class="icon icon-news"><%=l(:label_news_latest)%></h3>
<%= render :partial => 'news/news', :collection => @news %>
<p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p>
</div>
@@ -110,7 +110,7 @@
<% if @subprojects.any? %>
<div class="projects box">
- <h3><%=l(:label_subproject_plural)%></h3>
+ <h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
<%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %>
</div>
<% end %>