summaryrefslogtreecommitdiff
path: root/app/views/tenants/_gateways.html.haml
blob: c861ad32103a8cb4a9f89d3dfbba4d3fd8649897 (plain)
1
2
3
4
5
6
7
8
%h2= t("gateways.index.page_title")

- if Gateway.count <= GsParameter.get('NUMBER_OF_SHOWN_ITEMS')
  = render "gateways/index_core", :gateways => Gateway.all
  = render :partial => 'shared/create_link', :locals => {:child_class => Gateway}
- else
  %p
    = link_to t("gateways.index.page_title"), gateways_path