2007-03-12 20:59:02 +03:00
|
|
|
<h2><%=l(:label_member_plural)%></h2>
|
|
|
|
|
|
|
|
<% if @members.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
|
|
|
|
|
|
|
|
<% members = @members.group_by {|m| m.role } %>
|
|
|
|
<% members.keys.sort{|x,y| x.position <=> y.position}.each do |role| %>
|
|
|
|
<h3><%= role.name %></h3>
|
|
|
|
<ul>
|
|
|
|
<% members[role].each do |m| %>
|
2009-10-29 21:44:16 +03:00
|
|
|
<li><%= link_to_user m.user %> (<%= format_date m.created_on %>)</li>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|