[openstreetmap/openstreetmap-website] Integrate human-readable wikidata browser plugin (PR #6127)
Marwin Hochfelsner
notifications at github.com
Sun Jun 29 03:16:20 UTC 2025
@hlfan commented on this pull request.
> + .addClass("bg-body-tertiary");
+ labelLink
+ .closest("tr")
+ .after($("<tr>").append(cell));
+
+ if (data.icon) {
+ $("<img>")
+ .attr({ src: OSM.WIKIMEDIA_COMMONS_URL + "Special:FilePath/" + data.icon, height: "32" })
+ .addClass("float-start mb-2 me-2")
+ .appendTo(cell);
+ }
+ if (data.label) {
+ labelLink.clone()
+ .text(data.label)
+ .removeAttr("title")
+ .addClass("ms-1")
That was originally on the article link to separate it, so that margin should be on the other side. Idk how I managed to change it halfway.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6127#discussion_r2173583382
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6127/review/2969067798 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250628/529f8864/attachment.htm>
More information about the rails-dev
mailing list