Changeset - 236090bf758f
[Not reviewed]
beta
0 1 1
Liad Shani - 14 years ago 2011-09-21 19:47:16
liadff@gmail.com
Fixed user avatar display when gravatar use is disabled
2 files changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/helpers.py
Show inline comments
 
@@ -456,7 +456,7 @@ HasRepoPermissionAny, HasRepoPermissionA
 
def gravatar_url(email_address, size=30):
 
    if not str2bool(config['app_conf'].get('use_gravatar')) or \
 
        email_address == 'anonymous@rhodecode.org':
 
        return "/images/user%s.png" % size
 
        return url("/images/user%s.png" % size)
 

	
 
    ssl_enabled = 'https' == request.environ.get('wsgi.url_scheme')
 
    default = 'identicon'
rhodecode/public/images/user16.png
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
0 comments (0 inline, 0 general)