view app/views/projects/_members_box.html.erb @ 1194:6676c0284df2 feature_564

Add "mature projects" box. This isn't good enough on its own, it's just a test -- we need this to inform other relationships
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 22 Jan 2013 17:03:50 +0000
parents f6c71883b995
children bb32da3bea34
line wrap: on
line source
  <% if @users_by_role.any? %>
  <div id="memberbox"><div class="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></div>
  <% end %>