summaryrefslogtreecommitdiff
path: root/app/views/tenants/_users_table.html.haml
blob: 099b27af5e04bb974bd6715e1f9150f4af817c3a (plain)
1
2
3
4
5
6
7
%h2= t("users.index.page_title")
- if @tenant.users.count <= GsParameter.get('NUMBER_OF_SHOWN_ITEMS')
  = render "users/index_core", :users => tenant.users
  = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => User}
- else
  %p
    = link_to t('users.index.page_title'), tenant_users_path(tenant)