summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 15:13:35 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 15:13:35 +0100
commitaf4a02e15a02481e23f9458ae0a430ec52c57417 (patch)
tree9126e556da8a17b30c0f04b81daebbe72f27cefe
parent39b9d92b4330bef1aac715bb64228ed7aff8eb9a (diff)
UI
-rw-r--r--app/views/sip_accounts/_index_core.html.haml2
-rw-r--r--app/views/users/show.html.haml4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml
index bc1555f..c01d06e 100644
--- a/app/views/sip_accounts/_index_core.html.haml
+++ b/app/views/sip_accounts/_index_core.html.haml
@@ -15,7 +15,7 @@
%tbody
- for sip_account in sip_accounts
- %tr
+ %tr{:class => (sip_account.registration ? '' : 'warning')}
%td
- if sip_account.registration
%i.icon-ok
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index f38a4a1..7d32cca 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -10,12 +10,12 @@
%td
%strong= t('users.show.user_name') + ":"
%td
- = @user.user_name
+ = truncate(@user.user_name, :length => 14)
%tr
%td
%strong= t('users.show.email') + ":"
%td
- = @user.email
+ = truncate(@user.email, :length => 14)
%p.controls
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @tenant, :child => @user }