diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml index 1160a5d8c..64fb8bf5f 100644 --- a/app/views/account/show.rhtml +++ b/app/views/account/show.rhtml @@ -2,7 +2,7 @@ <%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %> -

<%=h @user.name %>

+

<%= gravatar @user.mail unless @user.mail.empty? %> <%=h @user.name %>

<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>