summaryrefslogtreecommitdiff
path: root/app/views/gateways/show.html.haml
blob: 3460c58e47162f538c55eda4a6a512ad8f5f1fed (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
- title t("gateways.show.page_title")

%p
  %strong= t('gateways.show.name') + ":"
  = @gateway.name
%p
  %strong= t('gateways.show.technology') + ":"
  = @gateway.technology
%p
  %strong= t('gateways.show.inbound') + ":"
  = @gateway.inbound
%p
  %strong= t('gateways.show.outbound') + ":"
  = @gateway.outbound
%p
  %strong= t('gateways.show.description') + ":"
  = @gateway.description

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


%h2= 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 }

%h2= 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 }