summaryrefslogtreecommitdiff
path: root/app/views/config_snom/show.xml.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 15:33:06 +0100
commit39aa7132ceed3d4beab3a9b828e571bbfc67c07e (patch)
tree6c88289c9f99be0af8635636fcdf64102090e5ec /app/views/config_snom/show.xml.haml
parent5ad8203ce4f1bfea997960d0b52c626dea24b944 (diff)
parent6f69c1a85055ec7c2515719d79d2a7a4e60cec50 (diff)
Merge branch 'develop'5.1-beta1
Diffstat (limited to 'app/views/config_snom/show.xml.haml')
-rw-r--r--app/views/config_snom/show.xml.haml33
1 files changed, 31 insertions, 2 deletions
diff --git a/app/views/config_snom/show.xml.haml b/app/views/config_snom/show.xml.haml
index d9953c5..5f53802 100644
--- a/app/views/config_snom/show.xml.haml
+++ b/app/views/config_snom/show.xml.haml
@@ -48,8 +48,8 @@
%use_proxy_number_guessing{:perm => 'RW'}= 'off'
%guess_number{:perm => 'RW'}= 'off'
%guess_start_length{:perm => 'RW'}= '3'
- %ieee8021x_eap_md5_username{:perm => 'RW'}= PROVISIONING_IEEE8021X_EAP_USERNAME
- %ieee8021x_eap_md5_password{:perm => 'RW'}= PROVISIONING_IEEE8021X_EAP_PASSWORD
+ %ieee8021x_eap_md5_username{:perm => 'RW'}= GsParameter.get('PROVISIONING_IEEE8021X_EAP_USERNAME')
+ %ieee8021x_eap_md5_password{:perm => 'RW'}= GsParameter.get('PROVISIONING_IEEE8021X_EAP_PASSWORD')
- 0.upto(9) do |ringer_idx|
%internal_ringer_text{:idx => ringer_idx, :perm => 'RW'}= "Ringer#{(ringer_idx+1)}"
@@ -68,6 +68,11 @@
%dkey_conf{:perm => 'RW'}= @dkeys[:conf]
%dkey_redial{:perm => 'RW'}= @dkeys[:redial]
%dkey_directory{:perm => 'RW'}= @dkeys[:directory]
+ %dkey_touch_idle_adr_book{:perm => 'RW'}= @dkeys[:touch_idle_adr_book]
+ %dkey_touch_idle_list_missed{:perm => 'RW'}= @dkeys[:touch_idle_list_missed]
+ %dkey_touch_idle_list_taken{:perm => 'RW'}= @dkeys[:touch_idle_list_taken]
+ %dkey_touch_idle_redial{:perm => 'RW'}= @dkeys[:touch_idle_redial]
+ %dkey_touch_idle_dialog{:perm => 'RW'}= @dkeys[:touch_idle_dialog]
%idle_ok_key_action{:perm => 'RW'}= @dkeys[:idle_ok]
%idle_cancel_key_action{:perm => 'RW'}= @dkeys[:idle_cancel]
@@ -76,6 +81,29 @@
%idle_left_key_action{:perm => 'RW'}= @dkeys[:idle_left]
%idle_right_key_action{:perm => 'RW'}= @dkeys[:idle_right]
+ / Display
+ %backlight{:perm => 'RW'}= '15'
+ %backlight_idle{:perm => 'RW'}= '0'
+ %dim_timer{:perm => 'RW'}= '300'
+
+ - if @phone.phone_model.name == 'Snom 870'
+ / Snom 870 idle icons
+ %idle_icon_01{:perm => 'RW'}= '9'
+ %idle_icon_02{:perm => 'RW'}= '20'
+ %idle_icon_03{:perm => 'RW'}= '4'
+ %idle_icon_04{:perm => 'RW'}= '-1'
+ %idle_icon_05{:perm => 'RW'}= '6'
+ %idle_icon_06{:perm => 'RW'}= '-1'
+ %idle_icon_07{:perm => 'RW'}= '-1'
+ %idle_icon_08{:perm => 'RW'}= '-1'
+ %idle_icon_09{:perm => 'RW'}= '-1'
+ %idle_icon_10{:perm => 'RW'}= '-1'
+ %idle_icon_11{:perm => 'RW'}= '15'
+ %idle_icon_12{:perm => 'RW'}= '-1'
+ %idle_icon_13{:perm => 'RW'}= '-1'
+ %idle_icon_14{:perm => 'RW'}= '13'
+ %idle_icon_15{:perm => 'RW'}= '12'
+
!= "\<!-- sip accounts: #{@sip_accounts.count} --\>"
- @sip_accounts.each_with_index do |sip_account, array_index|
- index = array_index + 1
@@ -148,4 +176,5 @@
%uploads
- if @state_settings_url
+ / Phone menu
%file{:url => @state_settings_url, :type => "gui_xml_state_settings"}