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| %>
|
2011-07-30 23:51:06 +04:00
|
|
|
<h3><%= h(role.name) %></h3>
|
2007-03-12 20:59:02 +03:00
|
|
|
<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 %>
|