summaryrefslogtreecommitdiff
path: root/app/views/tenants/_call_routes.html.haml
blob: 41066ae011b88bd94bb886930eb4817e964be48d (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.all
  = render :partial => 'shared/create_link', :locals => {:child_class => CallRoute}
- else
  %p
    = link_to t("call_routes.index.page_title"), call_routes_path