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:
parent
01fd8e685b
commit
b84dd8ec83
|
@ -2,7 +2,7 @@
|
||||||
<%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %>
|
<%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2><%=h @user.name %></h2>
|
<h2><%= gravatar @user.mail unless @user.mail.empty? %> <%=h @user.name %></h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
|
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>
|
||||||
|
|
Loading…
Reference in New Issue