summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-05-07 14:44:01 +0200
committerPeter Kozak <spag@golwen.net>2013-05-07 14:44:01 +0200
commit91b9da216d001c749b6d3429d88b35d0c1d3537b (patch)
treefb4e8383e509fb873c1ff4ed1d0cfe8884725d11 /app/views
parent3f285f44ea7d573924fb38b9a9421d5cf81133eb (diff)
set user_idle_text
Diffstat (limited to 'app/views')
-rw-r--r--app/views/config_snom/show.xml.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/config_snom/show.xml.haml b/app/views/config_snom/show.xml.haml
index 16a05d0..22df8bc 100644
--- a/app/views/config_snom/show.xml.haml
+++ b/app/views/config_snom/show.xml.haml
@@ -129,7 +129,7 @@
!= "\<!-- sip accounts: #{@sip_accounts.count} --\>"
- @sip_accounts.each_with_index do |sip_account, array_index|
- index = array_index + 1
- != "\<!-- sip account #{array_index}: #{sip_account[:idle_text]}, #{sip_account[:active]} --\>"
+ != "\<!-- sip account #{array_index}: #{sip_account[:user_idle_text]}, #{sip_account[:active]} --\>"
%user_active{:idx => index, :perm => 'R'}= sip_account[:active]
%user_pname{:idx => index, :perm => 'R'}= sip_account[:pname]
%user_pass{:idx => index, :perm => 'R'}= sip_account[:pass]
@@ -137,7 +137,7 @@
%user_outbound{:idx => index, :perm => 'R'}= sip_account[:outbound]
%user_name{:idx => index, :perm => 'R'}= sip_account[:name]
%user_realname{:idx => index, :perm => 'R'}= sip_account[:realname]
- %user_idle_text{:idx => index, :perm => 'R'}= sip_account[:idle_text]
+ %user_idle_text{:idx => index, :perm => 'R'}= sip_account[:user_idle_text]
%user_mailbox{:idx => index, :perm => 'R'}= sip_account[:mailbox]
%user_expiry{:idx => index, :perm => 'R'}= sip_account[:expiry]
%user_server_type{:idx => index, :perm => 'R'}= 'default'