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/issues/_history.rhtml | |
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/issues/_history.rhtml')
-rw-r--r-- | app/views/issues/_history.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml index e65c4d4d6..2b30dadc5 100644 --- a/app/views/issues/_history.rhtml +++ b/app/views/issues/_history.rhtml @@ -4,7 +4,7 @@ <h4><div style="float:right;"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div> <%= content_tag('a', '', :name => "note-#{journal.indice}")%> <%= format_time(journal.created_on) %> - <%= journal.user.name %></h4> - <%= gravatar_for_mail(journal.user.mail.blank? ? "" : journal.user.mail, :size => "32") %> + <%= avatar(journal.user, :size => "32") %> <ul> <% for detail in journal.details %> <li><%= show_detail(detail) %></li> |