X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb1ebf89251313f535e52308d0df0c06da93f1c7..8497760870a104044cfacc77971106b27884bfa8:/app/helpers/authorization_helper.rb diff --git a/app/helpers/authorization_helper.rb b/app/helpers/authorization_helper.rb index 11c8c298f..3a95d54ea 100644 --- a/app/helpers/authorization_helper.rb +++ b/app/helpers/authorization_helper.rb @@ -6,7 +6,7 @@ module AuthorizationHelper html << t("oauth.scopes.#{scope}") if Oauth::MODERATOR_SCOPES.include? scope html << " " - html << image_tag("roles/moderator.png", :srcset => image_path("roles/moderator.svg", :class => "align-text-bottom"), :size => "20x20") + html << role_icon_svg_tag("moderator", false, t("oauth.for_roles.moderator"), :class => "align-text-bottom") end safe_join(html) end