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