summaryrefslogtreecommitdiff
path: root/app/views/gateways/show.html.haml
blob: 9a3e1c480fc1feab55f235f92c049d58ef4f6148 (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
- content_for :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 }

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