blob: 268c4694abbe760435de8f00b2af02b5216ef55e (
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
29
30
31
32
33
34
35
36
37
38
|
- title t("phones.show.page_title")
%p
%strong= t('phones.show.mac_address') + ":"
= @phone.pretty_mac_address
%p
%strong= t('phones.show.phone_model_id') + ":"
= @phone.phone_model
- if !@phone.phone_model.product_manual_homepage_url.blank?
(#{link_to t('phones.show.manual'), @phone.phone_model.product_manual_homepage_url})
- if @phone.hot_deskable == true
%p
%strong= t('phones.show.hot_deskable') + ":"
= @phone.hot_deskable
%p
%strong= t('phones.show.fallback_sip_account_id') + ":"
= @phone.fallback_sip_account
- if defined? NIGHTLY_REBOOT_OF_PHONES && NIGHTLY_REBOOT_OF_PHONES == true
%p
%strong= t('phones.show.nightly_reboot') + ":"
= @phone.nightly_reboot
- if defined? PROVISIONING_KEY_LENGTH && PROVISIONING_KEY_LENGTH > 0
%p
%strong= t('phones.show.provisioning_key_active') + ":"
= @phone.provisioning_key_active
%p
%strong= t('phones.show.ip_address') + ":"
= @phone.ip_address
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @phone.phoneable, :child => @phone }
%h2= t("phones.sip_accounts.title")
- if @phone.phone_sip_accounts.count > 0
= render "phone_sip_accounts/index_core", :phone_sip_accounts => @phone.phone_sip_accounts
= render :partial => 'shared/create_link', :locals => {:parent => @phone, :child_class => PhoneSipAccount}
|