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
This commit is contained in:
Eric Davis 2008-10-30 02:58:34 +00:00
parent 01fd8e685b
commit b84dd8ec83

View File

@ -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 %>