blob: fa1c67993f7c3469e502638c2b5f9960e76f1844 (
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
|
%table{:class => 'table table-striped'}
%thead
%tr
%th= t('phones.index.mac_address')
%th
%span.hidden-phone
= t('phones.index.phone_model_id')
%span.visible-phone
= truncate(t('phones.index.phone_model_id'), :length => 9)
%th
%span.hidden-phone
= t('phones.index.hot_deskable')
%th
%span.hidden-phone
= t('phones.index.ip_address')
%tbody
- for phone in phones
%tr
%td= phone.pretty_mac_address
%td= phone.phone_model
%td
%span.hidden-phone
= phone.hot_deskable
%td= phone.ip_address
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => phone.phoneable, :child => phone}
|