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

%p
  %strong= t('gateways.show.id') + ":"
  = @gateway.id
%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 }


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

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