summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
blob: 7c695c8ba2982001b03eb910f66292ea16ce0fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
- content_for :title, t("call_routes.show.page_title")

.row
  .span5
    %table.table.table-striped
      %tr
        %td
          %strong= t('call_routes.show.table') + ":"
        %td
          = @call_route.routing_table
      %tr
        %td
          %strong= t('call_routes.show.name') + ":"
        %td
          = @call_route.name
      %tr
        %td
          %strong= t('call_routes.show.endpoint') + ":"
        %td
          - if @call_route.endpoint.blank?
            = @call_route.endpoint_type
          - else
            = @call_route.endpoint

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

.row
  .span12
    %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 }