trustieforge/app/views/projects/_members_box.html.erb

9 lines
299 B
Plaintext

<% 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(", ").html_safe %><br />
<% end %></p>
</div>
<% end %>