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

9 lines
299 B
Plaintext
Raw Normal View History

2013-08-01 10:33:49 +08:00
<% 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 %>