OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/my_projects_overviews/blocks/_members.html.erb

21 lines
832 B

13 years ago
<h2 class="page-layout-only"><%=l(:label_member_plural)%></h2>
<h3><%=l(:label_member_plural)%></h3>
<% if users_by_role(50).any? %>
<div class="members overview" id="users_per_role">
<p>
<%= render :partial => "members",
:locals => { :users_by_role => users_by_role(50),
:count_users_by_role => count_users_by_role } %>
</p>
<p>
<% if users_by_role(50).any?{ |role, users| users.count < count_users_by_role[role] } %>
<%= link_to(l(:'project_page.all'), { :controller => 'my_projects_overviews',
:action => 'show_all_members',
:id => project.id },
:class => "all" ) %>
<% end %>
</p>
13 years ago
</div>
<% end %>