From 331b7cd435e57678ac60ccdbf535597ca4d45ae9 Mon Sep 17 00:00:00 2001 From: Morten Madsen Lyngstad Date: Mon, 7 Jul 2025 15:43:06 +0200 Subject: [PATCH] Fix conditional rendering for extraction order link in analysis order detail --- src/staff/templates/staff/analysisorder_detail.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/staff/templates/staff/analysisorder_detail.html b/src/staff/templates/staff/analysisorder_detail.html index 6a9955d3..777520ec 100644 --- a/src/staff/templates/staff/analysisorder_detail.html +++ b/src/staff/templates/staff/analysisorder_detail.html @@ -10,7 +10,9 @@

Order {{ object }}

back Samples - Go to {{ extraction_order}} + {% if extraction_order %} + Go to {{ extraction_order}} + {% endif %} Assign staff