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