summaryrefslogtreecommitdiff
path: root/app/views/tenants/_call_routes.html.haml
blob: 28f84bf61003cf56b87167e0a3f5c7474b0f3a26 (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 link_to Haml::Engine.new("%i.icon-list").render + ' ' + t("call_routes.index.page_title"), call_routes_path