summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_groups.html.haml
blob: 60f93cc7bd18fb13e9c34369893de224901b973f (plain)
1
2
3
4
5
6
7
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