summaryrefslogtreecommitdiffstats
path: root/app/views/projects/_members_box.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_members_box.html.erb')
-rw-r--r--app/views/projects/_members_box.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_members_box.html.erb b/app/views/projects/_members_box.html.erb
index ff7170e48..b5bb46e3a 100644
--- a/app/views/projects/_members_box.html.erb
+++ b/app/views/projects/_members_box.html.erb
@@ -2,7 +2,7 @@
<div class="members box">
<h3 class="icon icon-group"><%=l(:label_member_plural)%></h3>
<% @principals_by_role.keys.sort.each do |role| %>
- <p><span class="label"><%= role %>:</span> <%= @principals_by_role[role].sort.collect{|p| link_to_principal p}.join(", ").html_safe %></p>
+ <p><span class="label"><%= role %>:</span> <%= @principals_by_role[role].sort.collect{|p| link_to_principal(p, :class => p.is_a?(Group) ? 'icon icon-group' : nil)}.join(", ").html_safe %></p>
<% end %>
</div>
<% end %>