X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..e2f1d6017d3e7c243f3e2cdd84e9dbf8378c22b9:/app/helpers/user_helper.rb diff --git a/app/helpers/user_helper.rb b/app/helpers/user_helper.rb index 6a239df5d..70125e804 100644 --- a/app/helpers/user_helper.rb +++ b/app/helpers/user_helper.rb @@ -11,6 +11,12 @@ module UserHelper image_tag user.image.url(:small), options end + def user_thumbnail_tiny(user, options = {}) + options[:class] ||= "user_thumbnail_tiny" + + image_tag user.image.url(:small), options + end + def openid_logo image_tag "openid_small.png", :alt => t('user.login.openid_logo_alt'), :class => "openid_logo" end