summaryrefslogtreecommitdiff
path: root/app/views/gateways/_index_core.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gateways/_index_core.html.haml')
-rw-r--r--app/views/gateways/_index_core.html.haml43
1 files changed, 26 insertions, 17 deletions
diff --git a/app/views/gateways/_index_core.html.haml b/app/views/gateways/_index_core.html.haml
index 0eec67f..1750212 100644
--- a/app/views/gateways/_index_core.html.haml
+++ b/app/views/gateways/_index_core.html.haml
@@ -1,19 +1,28 @@
- cache(['gateways_table', gateways.count, gateways.first, gateways.last]) do
- %table{:class => 'table table-striped'}
- %tr
- %th= t('gateways.index.name')
- %th= t('gateways.index.technology')
- %th= t('gateways.index.inbound')
- %th= t('gateways.index.outbound')
- %th= t('gateways.index.description')
- %th{:colspan => '3'}
-
- - for gateway in gateways
+ %table.table.table-striped
+ %thead
%tr
- - cache(['gateway_single_table_row_within_tr', gateway, gateways.count]) do
- %td= gateway.name
- %td= gateway.technology
- %td= gateway.inbound
- %td= gateway.outbound
- %td= gateway.description
- =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway} \ No newline at end of file
+ %th= t('gateways.index.name')
+ %th
+ %span.hidden-phone
+ = t('gateways.index.technology')
+ %th= t('gateways.index.inbound')
+ %th= t('gateways.index.outbound')
+ %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
+ %span.hidden-phone
+ = gateway.technology
+ %td= gateway.inbound
+ %td= gateway.outbound
+ %td
+ %span.hidden-phone
+ = gateway.description
+ =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => gateway} \ No newline at end of file