[openstreetmap/openstreetmap-website] Adjust Bootstrap icon usage (PR #6501)

Tom Hughes notifications at github.com
Wed Mar 25 14:49:17 UTC 2026


@tomhughes commented on this pull request.



> @@ -8,8 +8,8 @@ def authorization_scope(scope)
     html << t("oauth.scopes.#{scope}")
     if Oauth::MODERATOR_SCOPES.include? scope
       html << " "
-      html << inline_svg_tag("icons/role-star.svg", :class => "role-icon moderator align-text-bottom",
-                                                    :title => t("oauth.for_roles.moderator"))

There's a few places it is used but the easiest one to see is to go to `/oauth2/applications` and add an application that requests a moderator scope  (either `write_redactions` or `write_blocks`) and then go back to the list to see the star.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6501#discussion_r2988763393
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6501/review/4007281455 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260325/a4979a60/attachment.htm>


More information about the rails-dev mailing list