diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-09 14:52:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-11-09 14:52:16 +0000 |
commit | 7619c286cc27ed048f216f60972c50cea1564914 (patch) | |
tree | 01634fe4ac6bbc33159dc6d49cb48045e5d2ea25 /app/views/account | |
parent | 6157d20ec012fb34da66f0fe921b32036d582264 (diff) | |
download | redmine-7619c286cc27ed048f216f60972c50cea1564914.tar.gz redmine-7619c286cc27ed048f216f60972c50cea1564914.zip |
Changes ApplicationHelper#gravatar_for_mail to #avatar that takes a User or a String (less code in views).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2000 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 305629a9c..175a11c75 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><%= gravatar_for_mail @user.mail unless @user.mail.empty? %> <%=h @user.name %></h2> +<h2><%= avatar @user %> <%=h @user.name %></h2> <p> <%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %> |