##// END OF EJS Templates
Fixed user avatar display when gravatar use is disabled
Liad Shani -
r1478:236090bf beta
parent child Browse files
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
@@ -456,7 +456,7 b' HasRepoPermissionAny, HasRepoPermissionA'
456 def gravatar_url(email_address, size=30):
456 def gravatar_url(email_address, size=30):
457 if not str2bool(config['app_conf'].get('use_gravatar')) or \
457 if not str2bool(config['app_conf'].get('use_gravatar')) or \
458 email_address == 'anonymous@rhodecode.org':
458 email_address == 'anonymous@rhodecode.org':
459 return "/images/user%s.png" % size
459 return url("/images/user%s.png" % size)
460
460
461 ssl_enabled = 'https' == request.environ.get('wsgi.url_scheme')
461 ssl_enabled = 'https' == request.environ.get('wsgi.url_scheme')
462 default = 'identicon'
462 default = 'identicon'
General Comments 0
You need to be logged in to leave comments. Login now