diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-31 00:41:28 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2008-10-31 00:41:28 +0000 |
commit | ba20a678737c0ca84382826f1a7bd22cc40fe4eb (patch) | |
tree | db8da23d0dde61d23b26173e806dc3d844b636d1 /app/views/issues/_history.rhtml | |
parent | 048fa5bd7773c38ad5fada2b52167be1fd33e4e8 (diff) | |
download | redmine-ba20a678737c0ca84382826f1a7bd22cc40fe4eb.tar.gz redmine-ba20a678737c0ca84382826f1a7bd22cc40fe4eb.zip |
Added an option to turn user Gravatars on or off
* Option can be found in Administration > General, called
"Use Gravatar user icons"
* Defaulting Gravatars to off
* Added a helper gravatar_for_mail to check the setting before rendering
the Gravatar.
#1776
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1972 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 65b34d7c5..e65c4d4d6 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(journal.user.mail.blank? ? "" : journal.user.mail, :size => "32") %> + <%= gravatar_for_mail(journal.user.mail.blank? ? "" : journal.user.mail, :size => "32") %> <ul> <% for detail in journal.details %> <li><%= show_detail(detail) %></li> |