summaryrefslogtreecommitdiff
path: root/app/views/gateways/show.html.haml
blob: 25cca872dbc4318f2c308fd41c25eab40880db2c (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
- content_for :title, t("gateways.show.page_title")

%table{:class => 'table table-striped'}
  %tbody
    %tr
      %td
        %strong= t('gateways.show.name') + ":"
      %td
        = @gateway.name
    %tr
      %td
        %strong= t('gateways.show.id') + ":"
      %td
        = @gateway.id
    %tr
      %td
        %strong= t('gateways.show.technology') + ":"
      %td
        = @gateway.technology
    %tr
      %td
        %strong= t('gateways.show.inbound') + ":"
      %td
        = @gateway.inbound
    %tr
      %td
        %strong= t('gateways.show.outbound') + ":"
      %td
        = @gateway.outbound
    %tr
      %td
        %strong= t('gateways.show.description') + ":"
      %td
        = @gateway.description

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


%h3= t('gateway_settings.index.page_title')
- if @gateway.gateway_settings.any?
  = render "gateway_settings/index_core", :gateway_settings => @gateway.gateway_settings
  %br
= render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewaySetting }

%h3= t('gateway_parameters.index.page_title')
- if @gateway.gateway_parameters.any?
  = render "gateway_parameters/index_core", :gateway_parameters => @gateway.gateway_parameters
  %br
= render :partial => 'shared/create_link', :locals => { :parent => @gateway, :child_class => GatewayParameter }