summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-15 14:00:19 +0100
committerspag <spag@golwen.net>2013-01-15 14:00:19 +0100
commita248db30eb469f1fd99508df0cfbf47c4ad80b8c (patch)
tree48eb1d9d876881a2c1d3ab2358b9103ad62fa1b8 /app
parentf984b76b33c4a371f5c34eab4399b21caeabbff9 (diff)
display id
Diffstat (limited to 'app')
-rw-r--r--app/views/gateways/show.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml
index ebf75a5..a9b0d18 100644
--- a/app/views/gateways/show.html.haml
+++ b/app/views/gateways/show.html.haml
@@ -1,6 +1,9 @@
- title t("gateways.show.page_title")
%p
+ %strong= t('gateways.show.id') + ":"
+ = @gateway.id
+%p
%strong= t('gateways.show.name') + ":"
= @gateway.name
%p
@@ -19,14 +22,14 @@
= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway }
-%h2= t('gateway_settings.index.page_title')
+%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?
- %h2= t('gateway_parameters.index.page_title')
+ %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 }