summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_groups.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-20 19:06:19 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-06-20 19:06:19 +0200
commiteb0e1cc5c26275ff3e5c341404e8bc558f8312b8 (patch)
tree71f449ccd6f15422717de3ac24f87d5e888ddd79 /app/views/tenants/_table_of_groups.html.haml
parentdf6e17e48995f25e72509986f30700d778b179b6 (diff)
parent3b27a5d45b12f6bac65da2a8e17387bfda42a2f1 (diff)
Merge branch 'develop'
Diffstat (limited to 'app/views/tenants/_table_of_groups.html.haml')
-rw-r--r--app/views/tenants/_table_of_groups.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/tenants/_table_of_groups.html.haml b/app/views/tenants/_table_of_groups.html.haml
new file mode 100644
index 0000000..60f93cc
--- /dev/null
+++ b/app/views/tenants/_table_of_groups.html.haml
@@ -0,0 +1,8 @@
+%h2= t("groups.index.page_title")
+
+- if Group.count <= GsParameter.get('NUMBER_OF_SHOWN_ITEMS')
+ = render "groups/index_core", :groups => Group.all
+ = render :partial => 'shared/create_link', :locals => {:child_class => Group}
+- else
+ %p
+ = link_to t("groups.index.page_title"), groups_path