summaryrefslogtreecommitdiff
path: root/app/views/gateways
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-13 23:45:21 +0100
committerspag <spag@golwen.net>2013-01-13 23:45:21 +0100
commit1ddeac8a2d7066323dc388bfbdf31a005d4e562f (patch)
treeab5dc17cac1f1c67ebfdc63cfc95cb803b4a1a51 /app/views/gateways
parent191649e6bad92940fc502582f8fcdd842807b8e1 (diff)
gateway view display settings/parameters
Diffstat (limited to 'app/views/gateways')
-rw-r--r--app/views/gateways/show.html.haml15
1 files changed, 14 insertions, 1 deletions
diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml
index c9942dd..3460c58 100644
--- a/app/views/gateways/show.html.haml
+++ b/app/views/gateways/show.html.haml
@@ -16,4 +16,17 @@
%strong= t('gateways.show.description') + ":"
= @gateway.description
-= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway } \ No newline at end of file
+= 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 }