diff options
Diffstat (limited to 'users/app/views/users/show.html.haml')
-rw-r--r-- | users/app/views/users/show.html.haml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/users/app/views/users/show.html.haml b/users/app/views/users/show.html.haml index 2b59c66..d8b51e9 100644 --- a/users/app/views/users/show.html.haml +++ b/users/app/views/users/show.html.haml @@ -12,16 +12,12 @@ %dt =t :email_aliases %dd - - aliases = @user.email_aliases - - if aliases.empty? - none set - - else - .pull-left - = render aliases + %ul.pull-left.unstyled + = render(@user.email_aliases) || t(:none_set) .clearfix %dt =t :most_recently_updated_tickets %dd %table %tbody - = render @user.most_recent_tickets
\ No newline at end of file + = render @user.most_recent_tickets |