diff options
Diffstat (limited to 'app/views/tenants/_call_routes.html.haml')
-rw-r--r-- | app/views/tenants/_call_routes.html.haml | 8 |
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..28f84bf --- /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.all + = render :partial => 'shared/create_link', :locals => {:child_class => CallRoute} +- else + %p + = link_to link_to Haml::Engine.new("%i.icon-list").render + ' ' + t("call_routes.index.page_title"), call_routes_path
\ No newline at end of file |