summaryrefslogtreecommitdiff
path: root/app/views/sip_accounts
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:52:41 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:52:41 +0100
commite905a61d1aa42629fa20837365dc879925d5204e (patch)
tree0962ba72d214d87c830fe5a6ec29a920d375d05b /app/views/sip_accounts
parent5e83f10c186d403a7dfe1d35afd1b64a5935a8ec (diff)
UI improvements.
Diffstat (limited to 'app/views/sip_accounts')
-rw-r--r--app/views/sip_accounts/show.html.haml9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml
index 8c4aa7e..c21b3f4 100644
--- a/app/views/sip_accounts/show.html.haml
+++ b/app/views/sip_accounts/show.html.haml
@@ -21,12 +21,12 @@
%td
%strong= t('sip_accounts.show.call_waiting') + ":"
%td
- = @sip_account.call_waiting
+ = @sip_account.call_waiting == true ? t('simple_form.yes') : t('simple_form.no')
%tr
%td
%strong= t('sip_accounts.show.clir') + ":"
%td
- = @sip_account.clir
+ = @sip_account.clir == true ? t('simple_form.yes') : t('simple_form.no')
%tr
%td
%strong= t('sip_accounts.show.clip_no_screening') + ":"
@@ -36,12 +36,13 @@
%td
%strong= t('sip_accounts.show.hotdeskable') + ":"
%td
- = @sip_account.hotdeskable
+ = @sip_account.hotdeskable == true ? t('simple_form.yes') : t('simple_form.no')
%tr
%td
%strong= t('sip_accounts.show.callforward_rules_act_per_sip_account') + ":"
%td
- = @sip_account.callforward_rules_act_per_sip_account
+ = @sip_account.callforward_rules_act_per_sip_account == true ? t('simple_form.yes') : t('simple_form.no')
+
- if @sip_account.registration.try(:network_ip) && @sip_account.registration.try(:network_port)
%tr
%td