<%= filter_title(@filter) %>
<%= filter_selector(@filter) %>
<% @collection.each do |p| %> <% end %>
<%= _('Member') %> <%= _('Actions') %>
<%= link_to_profile p.short_name, p.identifier, :title => p.name %>
<% if p.is_admin? %> <%= button_without_text :'reset-admin-role', _('Reset admin role'), :action => 'reset_admin_role', :id => p, :q => @q, :filter => @filter %> <% else %> <%= button_without_text :'set-admin-role', _('Set admin role'), :action => 'set_admin_role', :id => p, :q => @q, :filter => @filter %> <% end %> <% if !p.user.activated? %> <%= button_without_text :'activate-user', _('Activate user'), :action => 'activate', :id => p, :q => @q, :filter => @filter %> <% else %> <%= button_without_text :'deactivate-user', _('Deactivate user'), :action => 'deactivate', :id => p, :q => @q, :filter => @filter %> <% end %>
<%= pagination_links @collection, {:param_name => 'npage', :page_links => true} %>