From: Eric Davis Date: Thu, 30 Oct 2008 02:58:34 +0000 (+0000) Subject: Added gravatar image to the user's public account page X-Git-Tag: 0.8.0-RC1~130 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b84dd8ec83e6468a88c4b6eb1a7cddae926268a7;p=redmine.git Added gravatar image to the user's public account page git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1967 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 %>