From e70aa0ea195f53bcb24f1b6e934c524eceee1e60 Mon Sep 17 00:00:00 2001 From: Sebastian Almberg <83243306+Sebbeben@users.noreply.github.com> Date: Thu, 12 Mar 2026 09:41:46 +0100 Subject: [PATCH] Fix broken images and improve match highlighting consistency - Hide broken external provider images with onerror fallback - Make source keyword text green when any match is detected - All matched fields (name, MPN, SPN, or any source keyword) show green text --- templates/info_providers/bulk_import/step2.html.twig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/info_providers/bulk_import/step2.html.twig b/templates/info_providers/bulk_import/step2.html.twig index 350fffdf..55ce25d1 100644 --- a/templates/info_providers/bulk_import/step2.html.twig +++ b/templates/info_providers/bulk_import/step2.html.twig @@ -216,8 +216,11 @@ {% set isTopResult = loop.first %} - + {% if dto.preview_image_url %} + + {% endif %} {# Check for matches against source keyword (what was searched) #} @@ -257,7 +260,7 @@ {{ result.sourceField ?? 'unknown' }} {% endif %} {% if result.sourceKeyword %} -
{{ result.sourceKeyword }} +
{{ result.sourceKeyword }} {% endif %}