From 0dd39cd1f2bbc30554fdc68b852c3f58a1ca5027 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Mar 2011 15:51:08 +0100 Subject: Correct the operation sheet (closes #275) --- ishtar/templates/sheet_operation.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ishtar/templates/sheet_operation.html') diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html index d0e31ae5a..10fa8ad61 100644 --- a/ishtar/templates/sheet_operation.html +++ b/ishtar/templates/sheet_operation.html @@ -108,20 +108,20 @@   {% for parcel in item.parcels.all %} - {% for context_record in item.context_record.all %} + {% for context_record in parcel.context_record.all %} {{ context_record.label }} {{context_record.unit}} {{ context_record.datings.all|join:", " }}{# periods ?#} {{ context_record.description }} {{ parcel.section }} - {{parcel.parcel_number}} - {% trans "Details" %} + {% trans "Details" %} {% empty %} - {% trans "No context record associated to parcel " %}{{ parcel.section }} - {{parcel.parcel_number}} + {% trans "No context record associated to parcel " %}{{ parcel.section }} - {{parcel.parcel_number}} {% endfor %} {% empty %} - {% trans "No context record associated to this operation" %} + {% trans "No context record associated to this operation" %} {% endfor %} -- cgit v1.2.3