summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/_members_box.html.erb2
-rw-r--r--app/views/projects/show.html.erb10
-rw-r--r--public/stylesheets/application.css7
3 files changed, 7 insertions, 12 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 %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 0d7553ffc..63ac5df06 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -313,12 +313,6 @@ td.center {text-align:center;}
h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
-div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
-div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
-div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
-div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
-div.spent_time h3 { background: url(../images/time.png) no-repeat 0% 50%; padding-left: 20px; }
-
#watchers select {width: 95%; display: block;}
#watchers a.delete {opacity: 0.4; margin-left: 5px;}
#watchers a.delete:hover {opacity: 1;}
@@ -1210,6 +1204,7 @@ div.wiki img {vertical-align:middle; max-width:100%;}
.icon-workflows { background-image: url(../images/ticket_go.png); }
.icon-custom-fields { background-image: url(../images/textfield.png); }
.icon-plugins { background-image: url(../images/plugin.png); }
+.icon-news { background: url(../images/news.png); }
.icon-file { background-image: url(../images/files/default.png); }
.icon-file.text-plain { background-image: url(../images/files/text.png); }