[openstreetmap/openstreetmap-website] Delete role icon pngs, use only svgs (PR #4742)

Anton Khorev notifications at github.com
Tue Apr 30 11:23:50 UTC 2024


Instead of doing #4741 or something similar, let's start with removing png role icons. Those are not used by browsers because svgs are also provided.

The reason I'm doing this is that I want to change some colors (white "blank" color, too dark blue moderator color) and I don't want to change pngs too.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4742

-- Commit Summary --

  * Delete role icon pngs, use only svgs

-- File Changes --

    D app/assets/images/roles/administrator.png (0)
    D app/assets/images/roles/blank_administrator.png (0)
    D app/assets/images/roles/blank_importer.png (0)
    D app/assets/images/roles/blank_moderator.png (0)
    D app/assets/images/roles/importer.png (0)
    D app/assets/images/roles/moderator.png (0)
    M app/helpers/authorization_helper.rb (2)
    M app/helpers/user_roles_helper.rb (2)
    M test/helpers/user_roles_helper_test.rb (50)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4742.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4742.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/4742 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240430/6e32e434/attachment.htm>


More information about the rails-dev mailing list