[openstreetmap/openstreetmap-website] Replace the text with the icon in the parent relation list (Issue #5368)

Roman Deev notifications at github.com
Mon Dec 2 22:10:45 UTC 2024


### Problem

After #5353 this already works for the ways:

<img width="342" src="https://github.com/user-attachments/assets/6f4548f9-92e3-496e-8179-97e1988258e8">

https://www.openstreetmap.org/node/7925741250

But not for relations:

<img width="342" alt="Снимок экрана 2024-12-03 в 00 58 53" src="https://github.com/user-attachments/assets/5ee293cd-0eaf-456e-a44a-c67d01a52851">

https://www.openstreetmap.org/node/3062459558

It will probably be enough to add the `relation` html-class and update the string by removing the Relation at the beginning.  


### Description

_No response_

### Screenshots

_No response_

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

Message ID: <openstreetmap/openstreetmap-website/issues/5368 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241202/4ecbfbdd/attachment.htm>


More information about the rails-dev mailing list