annotate app/views/projects/.svn/text-base/_members_box.html.erb.svn-base @ 558:c94e23a6eff1
feature_36
Related to Bug #222Updated the look of the authors list (more intuitive to sort). Created the plugin's stylesheet file.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Wed, 03 Aug 2011 16:27:13 +0100 |
parents |
1d32c0a0efbf |
children |
|
rev |
line source |
Chris@14
|
1 <% if @users_by_role.any? %>
|
Chris@14
|
2 <div class="members box">
|
Chris@14
|
3 <h3><%=l(:label_member_plural)%></h3>
|
Chris@14
|
4 <p><% @users_by_role.keys.sort.each do |role| %>
|
Chris@14
|
5 <%=h role %>: <%= @users_by_role[role].sort.collect{|u| link_to_user u}.join(", ") %><br />
|
Chris@14
|
6 <% end %></p>
|
Chris@14
|
7 </div>
|
Chris@14
|
8 <% end %>
|