From b76b13bff13cd6bcb2d543386cae9868cd4d882f Mon Sep 17 00:00:00 2001 From: spag Date: Thu, 27 Dec 2012 14:09:53 +0100 Subject: Fallback sip account in phone views --- config/locales/views/phones/de.yml | 4 ++++ config/locales/views/phones/en.yml | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config/locales/views/phones') diff --git a/config/locales/views/phones/de.yml b/config/locales/views/phones/de.yml index 3a0adea..2b655bd 100644 --- a/config/locales/views/phones/de.yml +++ b/config/locales/views/phones/de.yml @@ -33,6 +33,7 @@ de: http_user: 'http user' http_password: 'http password' nightly_reboot: 'Nachts automatischer Reboot' + fallback_sip_account_id: 'Fallback SIP Account' actions: confirm: 'Sind Sie sicher, dass Sie diese Telefon aus Gemeinschaft entfernen möchten?' destroy: 'Löschen' @@ -71,6 +72,9 @@ de: provisioning_key_active: label: 'Provisioning Schlüssel aktiv' hint: '' + fallback_sip_account_id: + label: 'Fallback SIP Account' + hint: '' button: 'Absenden' sip_accounts: title: 'Auf dem Telefon eingetragene SIP-Konten' diff --git a/config/locales/views/phones/en.yml b/config/locales/views/phones/en.yml index afcf9b5..a441e34 100644 --- a/config/locales/views/phones/en.yml +++ b/config/locales/views/phones/en.yml @@ -33,6 +33,7 @@ en: http_password: 'http password' nightly_reboot: 'Nightly reboot' provisioning_key_active: 'Provisioning key active' + fallback_sip_account_id: 'Fallback SIP Account' actions: confirm: 'Are you sure you want to delete this phone?' destroy: 'Delete phone' @@ -71,6 +72,9 @@ en: provisioning_key_active: label: 'Provisioning key active' hint: '' + fallback_sip_account_id: + label: 'Fallback SIP Account' + hint: '' button: 'Submit' sip_accounts: title: 'Listing of connected SIP accounts' -- cgit v1.2.3 From 1985d77138ec8c3efe01673d019947a6cd3361af Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Fri, 28 Dec 2012 20:01:29 +0100 Subject: Improved the UI for a new phone. --- config/locales/views/phones/de.yml | 1 + config/locales/views/phones/en.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'config/locales/views/phones') diff --git a/config/locales/views/phones/de.yml b/config/locales/views/phones/de.yml index 2b655bd..e8221a9 100644 --- a/config/locales/views/phones/de.yml +++ b/config/locales/views/phones/de.yml @@ -42,6 +42,7 @@ de: new: page_title: 'Neues Telefon' actions: + you_need_to_have_at_least_one_available_fallback_sip_account_for_hotdesking: 'Sie benötigen mindestens einen nicht benutzen SIP-Account, damit die Option für Hotdesking in diesem Formular angezeigt wird. ' edit: page_title: 'Telefondaten bearbeiten' form: diff --git a/config/locales/views/phones/en.yml b/config/locales/views/phones/en.yml index a441e34..ecd5a91 100644 --- a/config/locales/views/phones/en.yml +++ b/config/locales/views/phones/en.yml @@ -42,6 +42,7 @@ en: new: page_title: 'New phone' actions: + you_need_to_have_at_least_one_available_fallback_sip_account_for_hotdesking: 'You need to have at least one unconnected SIP account to see a hotdesking option in this form. ' edit: page_title: 'Editing Phone' form: -- cgit v1.2.3 From 2cfe480a334019619d243823c030b9315cb3ea2a Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Fri, 28 Dec 2012 20:10:36 +0100 Subject: Refactored the controller. --- config/locales/views/phones/de.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/locales/views/phones') diff --git a/config/locales/views/phones/de.yml b/config/locales/views/phones/de.yml index e8221a9..dafe279 100644 --- a/config/locales/views/phones/de.yml +++ b/config/locales/views/phones/de.yml @@ -42,7 +42,7 @@ de: new: page_title: 'Neues Telefon' actions: - you_need_to_have_at_least_one_available_fallback_sip_account_for_hotdesking: 'Sie benötigen mindestens einen nicht benutzen SIP-Account, damit die Option für Hotdesking in diesem Formular angezeigt wird. ' + you_need_to_have_at_least_one_available_fallback_sip_account_for_hotdesking: 'Sie benötigen mindestens einen nicht benutzen und hotdeskfähigen SIP-Account, damit die Option für Hotdesking in diesem Formular angezeigt wird. ' edit: page_title: 'Telefondaten bearbeiten' form: -- cgit v1.2.3