diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/sip_accounts/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/users/show.html.haml | 4 |
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 } |