Commit bae7f37d authored by jplang's avatar jplang
Browse files

Use the regular "icon icon-*" on project overview (#24313).

Patch by Marius BALTEANU.

git-svn-id: https://svn.redmine.org/redmine/trunk@15973 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent dc4d416b
<% 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 %>
......
......@@ -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 %>
......
......@@ -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); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment