diff options
Diffstat (limited to 'app/views/projects/_members_box.html.erb')
-rw-r--r-- | app/views/projects/_members_box.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/_members_box.html.erb b/app/views/projects/_members_box.html.erb new file mode 100644 index 000000000..dd8d93e34 --- /dev/null +++ b/app/views/projects/_members_box.html.erb @@ -0,0 +1,8 @@ + <% if @users_by_role.any? %> + <div class="members box"> + <h3><%=l(:label_member_plural)%></h3> + <p><% @users_by_role.keys.sort.each do |role| %> + <%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br /> + <% end %></p> + </div> + <% end %> |