]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/authorization_helper.rb
Replace creation_ip with creation_address
[rails.git] / app / helpers / authorization_helper.rb
index 11c8c298faa59ab958b524fa1c66c6f0ec006c93..3a95d54ea0b05d98ced79dfaa335b3cf32355478 100644 (file)
@@ -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