--- /dev/null
+ <% 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(", ") %><br />
+ <% end %></p>
+ </div>
+ <% end %>
</div>
<div class="splitcontentright">
- <% 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(", ") %><br />
- <% end %></p>
- </div>
- <% end %>
+ <%= render :partial => 'members_box' %>
<% if @news.any? && authorize_for('news', 'index') %>
<div class="news box">