summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
blob: 09daf5307dcf721642a7bcca377fbab0b4081285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- content_for :title, t("call_routes.show.page_title")

%p
  %strong= t('call_routes.show.table') + ":"
  = @call_route.routing_table
%p
  %strong= t('call_routes.show.name') + ":"
  = @call_route.name
%p
  %strong= t('call_routes.show.endpoint') + ":"
  - endpoint = @call_route.endpoint
  - if endpoint
    = endpoint
  - else
    = @call_route.endpoint_type

= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @call_route }

%h3= t('route_elements.index.page_title')
- if @call_route.route_elements && @call_route.route_elements.count > 0
  = render "route_elements/index_core", :route_elements => @call_route.route_elements

= render :partial => 'shared/create_link', :locals => { :parent =>  @call_route, :child_class => RouteElement }