# HG changeset patch # User Liad Shani # Date 2011-09-21 17:47:16 # Node ID 236090bf758fb68f49b9a9a373f095df21be6158 # Parent 6f1439efaed6391dba945d576b7d1c31dd4498a6 Fixed user avatar display when gravatar use is disabled diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -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' diff --git a/rhodecode/public/images/user16.png b/rhodecode/public/images/user16.png new file mode 100644 index 0000000000000000000000000000000000000000..5f22cc7425bed83522e62e52c786ba0d34de6333 GIT binary patch literal 415 zc$@*B0bu@#P)Px$SxH1eR5;6}Q%#G)Fc5tcCRW=RJSgZvPqy^`{|Entpmz~^X)9P~_OLXXw#%~Y zz>s7O| zeV}tLI)93DZe-&j%XM9c{jl7oX(AgD#T*b3s;WZMG%&^l=7|W8#{>8K9mbex4tnjn z4%h1yUDrjn%jJUS^9d1∈CQMFgA82K)UUL=+9u;cx&E;dZ-4Z3F-j!Fs($Q4}G$ zUyU)yvJ6F0Ktw_-fde8!k|a1Dk8j6d1ps3V@;pb9Bryjfg6(z-W*)u&P?;IK-3}u1 z=75>8TrM#jswp8NIOo93c)ecV0M=SqYeT8O{leL725T)u1Ya*v$L}{}&65BC002ov JPDHLkV1jBdu4MoK