diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-30 02:58:34 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-30 02:58:34 +0000 |
commit | b84dd8ec83e6468a88c4b6eb1a7cddae926268a7 (patch) | |
tree | 62fc50081193f0fc6dc1d57093ca11321a30acc5 /app/views/account | |
parent | 01fd8e685b9da63ad8a951af503a9bbc0775edff (diff) | |
download | redmine-b84dd8ec83e6468a88c4b6eb1a7cddae926268a7.tar.gz redmine-b84dd8ec83e6468a88c4b6eb1a7cddae926268a7.zip |
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
Diffstat (limited to 'app/views/account')
-rw-r--r-- | app/views/account/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
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? %> </div> -<h2><%=h @user.name %></h2> +<h2><%= gravatar @user.mail unless @user.mail.empty? %> <%=h @user.name %></h2> <p> <%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %> |