From af9a931ed0d63457aae85e1e900d80ac4e38ddaf Mon Sep 17 00:00:00 2001 From: Jason Heppler Date: Thu, 15 Aug 2024 12:50:02 -0500 Subject: [PATCH] fix: Thumbnail for next page should only show non-forensic image --- templates/manuscript_page.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/manuscript_page.html b/templates/manuscript_page.html index 8a3e2c4..b8a2361 100644 --- a/templates/manuscript_page.html +++ b/templates/manuscript_page.html @@ -58,10 +58,13 @@
{% if next_page %} - {% for image in next_page.attached_images.all %} - Next Page - {% endfor %} - Next Page → + {# skip the image_type "fornesics" #} + {% if image_type != "forensics" %} + {% for image in next_page.attached_images.all %} + Next Page + {% endfor %} + Next Page → + {% endif %} {% endif %}