mirror of
https://github.com/redmine/redmine.git
synced 2026-02-28 01:21:22 +01:00
Small refactorization of avatar methods (#31391).
* move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -18,7 +18,7 @@ module GravatarHelper
|
||||
:default => nil,
|
||||
|
||||
# The default size in pixels for the gravatar image (they're square).
|
||||
:size => 50,
|
||||
:size => 24,
|
||||
|
||||
# The maximum allowed MPAA rating for gravatars. This allows you to
|
||||
# exclude gravatars that may be out of character for your site.
|
||||
|
||||
Reference in New Issue
Block a user