[openstreetmap/openstreetmap-website] Use only differences to OSM logo in internal social link icons (PR #6072)

Anton Khorev notifications at github.com
Fri Jun 6 16:03:09 UTC 2025


@AntonKhorev commented on this pull request.



> @@ -5,6 +5,11 @@
         <%= image_tag "social_link_icons/#{social_link.parsed[:platform].nil? ? 'other' : social_link.parsed[:platform]}.svg",
                       :alt => social_link.parsed[:platform].nil? ? t(".other") : social_link.parsed[:platform],
                       :size => "16" %>
+        <% if social_link.parsed[:is_osm_related] %>
+          <div class="position-absolute">
+            <%= image_tag "osm_logo.svg", :class => "count-number ms-2 mt-3 rounded-1", :width => "12", :height => "12", :alt => t("layouts.logo.alt_text") %>

Whad does this badge have to do with `count-number`? There's no number in it.

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

Message ID: <openstreetmap/openstreetmap-website/pull/6072/review/2905371169 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250606/64274eca/attachment.htm>


More information about the rails-dev mailing list