From 6e2f477c098463f934c59460835a92ba7282b53f Mon Sep 17 00:00:00 2001 From: Stephan Kerkman Date: Sat, 30 May 2026 21:46:02 +0200 Subject: [PATCH] fix: restore hero OOB swap after gallery innerHTML fix --- plants/templates/plants/partials/photo_gallery.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plants/templates/plants/partials/photo_gallery.html b/plants/templates/plants/partials/photo_gallery.html index 69a8363..a59ec96 100644 --- a/plants/templates/plants/partials/photo_gallery.html +++ b/plants/templates/plants/partials/photo_gallery.html @@ -45,3 +45,15 @@ + +{% if request.htmx %} +
+{% if plant.species and plant.species.api_image_url %} +{{ plant.species.common_name }} +{% elif plant.thumbnail_url %} +{{ plant.name }} +{% else %} +
🌿
+{% endif %} +
+{% endif %}