blob: bff25e032b0bd64f568db3874d390c7848f2ae13 (
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
|
- cache(['gateways_table', gateways.count, gateways.first, gateways.last]) do
%table{:class => 'table table-striped'}
%thead
%tr
%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}
|