diff options
Diffstat (limited to 'app/views/gateways')
-rw-r--r-- | app/views/gateways/_index_core.html.haml | 16 | ||||
-rw-r--r-- | app/views/gateways/show.html.haml | 50 |
2 files changed, 44 insertions, 22 deletions
diff --git a/app/views/gateways/_index_core.html.haml b/app/views/gateways/_index_core.html.haml index faa381d..bff25e0 100644 --- a/app/views/gateways/_index_core.html.haml +++ b/app/views/gateways/_index_core.html.haml @@ -3,18 +3,26 @@ %thead %tr %th= t('gateways.index.name') - %th= t('gateways.index.technology') + %th + %span.hidden-phone + = t('gateways.index.technology') %th= t('gateways.index.inbound') %th= t('gateways.index.outbound') - %th= t('gateways.index.description') + %th + %span.hidden-phone + = t('gateways.index.description') %tbody - for gateway in gateways %tr - cache(['gateway_single_table_row_within_tr', gateway, gateways.count]) do %td= gateway.name - %td= gateway.technology + %td + %span.hidden-phone + = gateway.technology %td= gateway.inbound %td= gateway.outbound - %td= gateway.description + %td + %span.hidden-phone + = gateway.description =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway}
\ No newline at end of file diff --git a/app/views/gateways/show.html.haml b/app/views/gateways/show.html.haml index 9a3e1c4..25cca87 100644 --- a/app/views/gateways/show.html.haml +++ b/app/views/gateways/show.html.haml @@ -1,23 +1,37 @@ - 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 +%table{:class => 'table table-striped'} + %tbody + %tr + %td + %strong= t('gateways.show.name') + ":" + %td + = @gateway.name + %tr + %td + %strong= t('gateways.show.id') + ":" + %td + = @gateway.id + %tr + %td + %strong= t('gateways.show.technology') + ":" + %td + = @gateway.technology + %tr + %td + %strong= t('gateways.show.inbound') + ":" + %td + = @gateway.inbound + %tr + %td + %strong= t('gateways.show.outbound') + ":" + %td + = @gateway.outbound + %tr + %td + %strong= t('gateways.show.description') + ":" + %td + = @gateway.description = render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @gateway } |