X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fe8d5c05731841436657b0bef359575fc4b2fe51..00375024263970a43ea7d39e3c65dfd0f32e8869:/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