summaryrefslogtreecommitdiff
path: root/app/views/phone_sip_accounts
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:30:19 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 22:30:19 +0100
commit3793a53509007054f5f5f2eb00abaa404074f252 (patch)
tree32d0dab4a1e2e9e2621671c3af39867fba4a2fd3 /app/views/phone_sip_accounts
parentd7777f71e78ae173e26af39c7c65243b4604d6e8 (diff)
UI improvement.
Diffstat (limited to 'app/views/phone_sip_accounts')
-rw-r--r--app/views/phone_sip_accounts/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phone_sip_accounts/_index_core.html.haml b/app/views/phone_sip_accounts/_index_core.html.haml
index 3656ad6..7ec04be 100644
--- a/app/views/phone_sip_accounts/_index_core.html.haml
+++ b/app/views/phone_sip_accounts/_index_core.html.haml
@@ -7,7 +7,7 @@
%tbody
- for phone_sip_account in phone_sip_accounts
- %tr
+ %tr{:class => (phone_sip_account.sip_account.registration ? '' : 'warning')}
%td= phone_sip_account.phone
%td= phone_sip_account.sip_account
%td= phone_sip_account.position