<%= setup_context :title => @manage_access ? I18n.t("user._frontend.section.manage_access") : I18n.t("user._plural") %>
<% if not @manage_access %>
<%= link_to I18n.t("user._frontend.action.create"), {:controller => :users, :action => :new}, :class => "btn btn-sm btn-default" %>

<% end %>
<% if @manage_access %> <%= link_to_help :topic => "repository_users" %>

<%= I18n.t("user._frontend.section.manage_access") %>

<% else %> <%= link_to_help :topic => "user" %>

<%= I18n.t("user._plural") %>

<% end %> <%= render_aspace_partial :partial => "shared/flash_messages" %> <% if @search_data['results'].length %> <% @search_data['results'].each do |user| %> <% end %>
<%= I18n.t("user._singular") %>
<%= user.username %>
<% if @manage_access %> <%= link_to I18n.t("actions.edit_groups"), {:controller => :users, :action => :edit_groups, :id => user.id}, :class => "btn btn-xs btn-default" %> <% else %> <%= link_to I18n.t("actions.edit"), {:controller => :users, :action => :edit, :id => user.id}, :class => "btn btn-xs btn-primary" %> <% end %>
<%= render_aspace_partial :partial => "shared/pagination" %> <% else %>

No Users.

<% end %>