summaryrefslogtreecommitdiff
path: root/app/views/gateways/_index_core.html.haml
blob: 0eec67f0e1b0374d42b1b6e134c739cae16c14ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- 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
      %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}