summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-10 11:47:17 +0200
committerPeter Kozak <spag@golwen.net>2013-07-10 11:47:17 +0200
commit5b82b122aa37176acfd46fa55dd99230c02d08d2 (patch)
treee46600ee7ff5de2a2eb1be23ab9305a607bc6f7c
parente1b8a3961833f66f03659d16b2737ab62efd999c (diff)
language_code added to show view
-rw-r--r--app/views/sip_accounts/show.html.haml5
-rw-r--r--config/locales/views/sip_accounts/de.yml1
-rw-r--r--config/locales/views/sip_accounts/en.yml1
3 files changed, 7 insertions, 0 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml
index a7cd3ce..280c8d9 100644
--- a/app/views/sip_accounts/show.html.haml
+++ b/app/views/sip_accounts/show.html.haml
@@ -42,6 +42,11 @@
%strong= t('sip_accounts.show.voicemail_account') + ":"
%td
= @sip_account.voicemail_account
+ %tr
+ %td
+ %strong= t('sip_accounts.show.language_code') + ":"
+ %td
+ = @sip_account.language_code
- if @sip_account.registration.try(:network_ip) && @sip_account.registration.try(:network_port)
%tr
diff --git a/config/locales/views/sip_accounts/de.yml b/config/locales/views/sip_accounts/de.yml
index b80e2a5..76f0d4c 100644
--- a/config/locales/views/sip_accounts/de.yml
+++ b/config/locales/views/sip_accounts/de.yml
@@ -39,6 +39,7 @@ de:
hotdeskable: 'Hot-Desk fähig'
clip_no_screening: 'Spezifische Rufnummernanzeige (CLIP -no screening-)'
callforward_rules_act_per_sip_account: 'Rufweiterleitungen gelten für das gesamte SIP-Account'
+ language_code: 'Sprache'
registration: 'Registrierung'
expires: 'Läuft ab'
user_agent: 'User Agent'
diff --git a/config/locales/views/sip_accounts/en.yml b/config/locales/views/sip_accounts/en.yml
index 2c66962..303bef8 100644
--- a/config/locales/views/sip_accounts/en.yml
+++ b/config/locales/views/sip_accounts/en.yml
@@ -39,6 +39,7 @@ en:
hotdeskable: 'Hotdeskable'
clip_no_screening: 'CLIP -no screening-'
callforward_rules_act_per_sip_account: 'Callforwards work for the whole sip account'
+ language_code: 'Language'
registration: 'Registration'
expires: 'Expires'
user_agent: 'User Agent'