Patch #24313 » 02_use_regular_icons_in_overview_tab.patch
app/views/projects/_members_box.html.erb | ||
---|---|---|
1 | 1 |
<% if @users_by_role.any? %> |
2 | 2 |
<div class="members box"> |
3 |
<h3><%=l(:label_member_plural)%></h3> |
|
3 |
<h3 class="icon icon-group"><%=l(:label_member_plural)%></h3>
|
|
4 | 4 |
<% @users_by_role.keys.sort.each do |role| %> |
5 | 5 |
<p><span class="label"><%= role %>:</span> <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ").html_safe %></p> |
6 | 6 |
<% end %> |
app/views/projects/show.html.erb | ||
---|---|---|
36 | 36 | |
37 | 37 |
<% if User.current.allowed_to?(:view_issues, @project) %> |
38 | 38 |
<div class="issues box"> |
39 |
<h3><%=l(:label_issue_tracking)%></h3> |
|
39 |
<h3 class="icon icon-issue"><%=l(:label_issue_tracking)%></h3>
|
|
40 | 40 |
<% if @trackers.present? %> |
41 | 41 |
<table class="list issue-report"> |
42 | 42 |
<thead> |
... | ... | |
78 | 78 |
</p> |
79 | 79 |
</div> |
80 | 80 |
<% end %> |
81 |
|
|
81 | ||
82 | 82 |
<% if User.current.allowed_to?(:view_time_entries, @project) %> |
83 | 83 |
<div class="spent_time box"> |
84 |
<h3><%= l(:label_spent_time) %></h3> |
|
84 |
<h3 class="icon icon-time"><%= l(:label_spent_time) %></h3>
|
|
85 | 85 |
<% if @total_hours.present? %> |
86 | 86 |
<p><%= l_hours(@total_hours) %></p> |
87 | 87 |
<% end %> |
... | ... | |
102 | 102 | |
103 | 103 |
<% if @news.any? && authorize_for('news', 'index') %> |
104 | 104 |
<div class="news box"> |
105 |
<h3><%=l(:label_news_latest)%></h3> |
|
105 |
<h3 class="icon icon-news"><%=l(:label_news_latest)%></h3>
|
|
106 | 106 |
<%= render :partial => 'news/news', :collection => @news %> |
107 | 107 |
<p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p> |
108 | 108 |
</div> |
... | ... | |
110 | 110 | |
111 | 111 |
<% if @subprojects.any? %> |
112 | 112 |
<div class="projects box"> |
113 |
<h3><%=l(:label_subproject_plural)%></h3> |
|
113 |
<h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3>
|
|
114 | 114 |
<%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %> |
115 | 115 |
</div> |
116 | 116 |
<% end %> |
public/stylesheets/application.css | ||
---|---|---|
313 | 313 | |
314 | 314 |
h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; } |
315 | 315 | |
316 |
div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; } |
|
317 |
div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; } |
|
318 |
div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; } |
|
319 |
div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; } |
|
320 |
div.spent_time h3 { background: url(../images/time.png) no-repeat 0% 50%; padding-left: 20px; } |
|
321 | ||
322 | 316 |
#watchers select {width: 95%; display: block;} |
323 | 317 |
#watchers a.delete {opacity: 0.4; margin-left: 5px;} |
324 | 318 |
#watchers a.delete:hover {opacity: 1;} |
... | ... | |
1210 | 1204 |
.icon-workflows { background-image: url(../images/ticket_go.png); } |
1211 | 1205 |
.icon-custom-fields { background-image: url(../images/textfield.png); } |
1212 | 1206 |
.icon-plugins { background-image: url(../images/plugin.png); } |
1207 |
.icon-news { background: url(../images/news.png); } |
|
1213 | 1208 | |
1214 | 1209 |
.icon-file { background-image: url(../images/files/default.png); } |
1215 | 1210 |
.icon-file.text-plain { background-image: url(../images/files/text.png); } |