@@ -1,6 +1,6 | |||||
1 | <% if @users_by_role.any? %> |
|
1 | <% if @users_by_role.any? %> | |
2 | <div class="members box"> |
|
2 | <div class="members box"> | |
3 | <h3><%=l(:label_member_plural)%></h3> |
|
3 | <h3 class="icon icon-group"><%=l(:label_member_plural)%></h3> | |
4 | <% @users_by_role.keys.sort.each do |role| %> |
|
4 | <% @users_by_role.keys.sort.each do |role| %> | |
5 | <p><span class="label"><%= role %>:</span> <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ").html_safe %></p> |
|
5 | <p><span class="label"><%= role %>:</span> <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ").html_safe %></p> | |
6 | <% end %> |
|
6 | <% end %> |
@@ -36,7 +36,7 | |||||
36 |
|
36 | |||
37 | <% if User.current.allowed_to?(:view_issues, @project) %> |
|
37 | <% if User.current.allowed_to?(:view_issues, @project) %> | |
38 | <div class="issues box"> |
|
38 | <div class="issues box"> | |
39 | <h3><%=l(:label_issue_tracking)%></h3> |
|
39 | <h3 class="icon icon-issue"><%=l(:label_issue_tracking)%></h3> | |
40 | <% if @trackers.present? %> |
|
40 | <% if @trackers.present? %> | |
41 | <table class="list issue-report"> |
|
41 | <table class="list issue-report"> | |
42 | <thead> |
|
42 | <thead> | |
@@ -78,10 +78,10 | |||||
78 | </p> |
|
78 | </p> | |
79 | </div> |
|
79 | </div> | |
80 | <% end %> |
|
80 | <% end %> | |
81 |
|
81 | |||
82 | <% if User.current.allowed_to?(:view_time_entries, @project) %> |
|
82 | <% if User.current.allowed_to?(:view_time_entries, @project) %> | |
83 | <div class="spent_time box"> |
|
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 | <% if @total_hours.present? %> |
|
85 | <% if @total_hours.present? %> | |
86 | <p><%= l_hours(@total_hours) %></p> |
|
86 | <p><%= l_hours(@total_hours) %></p> | |
87 | <% end %> |
|
87 | <% end %> | |
@@ -102,7 +102,7 | |||||
102 |
|
102 | |||
103 | <% if @news.any? && authorize_for('news', 'index') %> |
|
103 | <% if @news.any? && authorize_for('news', 'index') %> | |
104 | <div class="news box"> |
|
104 | <div class="news box"> | |
105 | <h3><%=l(:label_news_latest)%></h3> |
|
105 | <h3 class="icon icon-news"><%=l(:label_news_latest)%></h3> | |
106 | <%= render :partial => 'news/news', :collection => @news %> |
|
106 | <%= render :partial => 'news/news', :collection => @news %> | |
107 | <p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p> |
|
107 | <p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p> | |
108 | </div> |
|
108 | </div> | |
@@ -110,7 +110,7 | |||||
110 |
|
110 | |||
111 | <% if @subprojects.any? %> |
|
111 | <% if @subprojects.any? %> | |
112 | <div class="projects box"> |
|
112 | <div class="projects box"> | |
113 | <h3><%=l(:label_subproject_plural)%></h3> |
|
113 | <h3 class="icon icon-projects"><%=l(:label_subproject_plural)%></h3> | |
114 | <%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %> |
|
114 | <%= @subprojects.collect{|p| link_to p, project_path(p), :class => p.css_classes}.join(", ").html_safe %> | |
115 | </div> |
|
115 | </div> | |
116 | <% end %> |
|
116 | <% end %> |
@@ -313,12 +313,6 td.center {text-align:center;} | |||||
313 |
|
313 | |||
314 | h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; } |
|
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 | #watchers select {width: 95%; display: block;} |
|
316 | #watchers select {width: 95%; display: block;} | |
323 | #watchers a.delete {opacity: 0.4; margin-left: 5px;} |
|
317 | #watchers a.delete {opacity: 0.4; margin-left: 5px;} | |
324 | #watchers a.delete:hover {opacity: 1;} |
|
318 | #watchers a.delete:hover {opacity: 1;} | |
@@ -1210,6 +1204,7 div.wiki img {vertical-align:middle; max-width:100%;} | |||||
1210 | .icon-workflows { background-image: url(../images/ticket_go.png); } |
|
1204 | .icon-workflows { background-image: url(../images/ticket_go.png); } | |
1211 | .icon-custom-fields { background-image: url(../images/textfield.png); } |
|
1205 | .icon-custom-fields { background-image: url(../images/textfield.png); } | |
1212 | .icon-plugins { background-image: url(../images/plugin.png); } |
|
1206 | .icon-plugins { background-image: url(../images/plugin.png); } | |
|
1207 | .icon-news { background: url(../images/news.png); } | |||
1213 |
|
1208 | |||
1214 | .icon-file { background-image: url(../images/files/default.png); } |
|
1209 | .icon-file { background-image: url(../images/files/default.png); } | |
1215 | .icon-file.text-plain { background-image: url(../images/files/text.png); } |
|
1210 | .icon-file.text-plain { background-image: url(../images/files/text.png); } |
General Comments 0
You need to be logged in to leave comments.
Login now