summaryrefslogtreecommitdiff
path: root/app/views/tenants/_call_routes.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-19 09:10:13 +0100
committerspag <spag@golwen.net>2013-01-19 09:10:13 +0100
commit617118f91bb77aa4cd37dc8ecfd77059818c9cec (patch)
tree34ca274cdd6a10505f1284724ba1198f6c360978 /app/views/tenants/_call_routes.html.haml
parent1e290840497225c50373d0b860036505fa91e13a (diff)
parentb4abd87252db53e3d79a9601cf9c581f61827f10 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/tenants/_call_routes.html.haml')
-rw-r--r--app/views/tenants/_call_routes.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/tenants/_call_routes.html.haml b/app/views/tenants/_call_routes.html.haml
new file mode 100644
index 0000000..ade24c9
--- /dev/null
+++ b/app/views/tenants/_call_routes.html.haml
@@ -0,0 +1,8 @@
+%h2= t("call_routes.index.page_title")
+
+- if CallRoute.count <= GsParameter.get('NUMBER_OF_SHOWN_ITEMS')
+ = render "call_routes/index_core", :call_routes => CallRoute.call
+ = render :partial => 'shared/create_link', :locals => {:child_class => CallRoute}
+- else
+ %p
+ = link_to t("call_routes.index.page_title"), call_routes_path \ No newline at end of file