summaryrefslogtreecommitdiff
path: root/app/views/switchboard_entries/_index_core.html.haml
blob: 406db71b4ef0131956c98e61a7c7b7ecd6acc92e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%table.table.table-striped
  %tr
    %th
    %th= t('switchboard_entries.index.sip_account_id')
    %th= t('switchboard_entries.index.name')
    %th

  %tbody{ :id => "switchboard_entries", :'data-update-url' => sort_switchboard_switchboard_entries_path(switchboard_entries.first.switchboard) }
    - for switchboard_entry in switchboard_entries
      = content_tag_for :tr, switchboard_entry do
        %td
          %span.handle
            %i.icon-resize-vertical
        %td= switchboard_entry.sip_account
        %td= switchboard_entry.name
        =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => switchboard_entry.switchboard, :child => switchboard_entry}