<% 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 %>
<% 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>
</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 %>
<% 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>
<% 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 %>
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;}
.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); }