From d78bac61acf7ffd09f0d33e3bb0fe1458ca3c1ad Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 7 May 2021 10:39:18 +0200 Subject: Sheets: display parcel address --- archaeological_operations/templates/ishtar/sheet_operation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 2afdb6c4c..88fa2356a 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -302,7 +302,7 @@ {% dynamic_table_document archaeologicalsites_label 'sites' 'operations' item.pk '' output %} {% endif %} - {% if item.grouped_parcels %} + {% if item.parcels.count %} {% trans "Associated parcels" as parcels_label %} {% include "ishtar/blocks/window_tables/parcels.html" %} {% endif %} -- cgit v1.2.3