summaryrefslogtreecommitdiff
path: root/app/views/tenants/_users_table.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tenants/_users_table.html.haml')
-rw-r--r--app/views/tenants/_users_table.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/tenants/_users_table.html.haml b/app/views/tenants/_users_table.html.haml
new file mode 100644
index 0000000..850ea5e
--- /dev/null
+++ b/app/views/tenants/_users_table.html.haml
@@ -0,0 +1,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 "Liste aller User.", tenant_users_path(tenant) \ No newline at end of file