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