summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-12 19:04:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-05-12 19:04:52 +0000
commitda2854cf750b2a848a250491aac17751cb596182 (patch)
tree4d50138bda5c2ab7b1c9944077a220eafd689b7f /app/views
parent3df4df3438f32e302cb45f6bc77c4eb1bc8b98e8 (diff)
downloadredmine-da2854cf750b2a848a250491aac17751cb596182.tar.gz
redmine-da2854cf750b2a848a250491aac17751cb596182.zip
Display all users roles on project overview (#3339).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2734 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/show.rhtml8
1 files changed, 3 insertions, 5 deletions
diff --git a/app/views/projects/show.rhtml b/app/views/projects/show.rhtml
index 304fe5d67..4e068a5d8 100644
--- a/app/views/projects/show.rhtml
+++ b/app/views/projects/show.rhtml
@@ -35,13 +35,11 @@
</div>
<div class="splitcontentright">
- <% if @members_by_role.any? %>
+ <% if @users_by_role.any? %>
<div class="box">
<h3 class="icon22 icon22-users"><%=l(:label_member_plural)%></h3>
- <p><% @members_by_role.keys.sort.each do |role| %>
- <%= role.name %>:
- <%= @members_by_role[role].collect(&:user).sort.collect{|u| link_to_user u}.join(", ") %>
- <br />
+ <p><% @users_by_role.keys.sort.each do |role| %>
+ <%= role.name %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
<% end %></p>
</div>
<% end %>