From 00097d1491b76b50c8e7ee0f35d5e6bfa00bbeea Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 20 Nov 2015 12:28:10 +0100 Subject: Archaeological operations: add virtual and record quality fields (refs #2961) --- archaeological_operations/templates/ishtar/sheet_operation.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'archaeological_operations/templates') diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 56b5115d6..9784b29df 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -1,5 +1,5 @@ {% extends "ishtar/sheet.html" %} -{% load i18n window_tables window_ope_tables %} +{% load i18n window_tables window_ope_tables window_field from_dict %} {% block head_sheet %} {{block.super}} @@ -25,6 +25,10 @@
{% trans "Modify" %}
+{% if item.virtual_operation %} +

{% trans "This operation is virtual." %}

+{% endif %} +

{% trans "General"%}

{% if item.common_name %}

{{ item.common_name }}

{% endif %} {% if item.year %}

{{ item.year }}

{% endif %} @@ -54,6 +58,8 @@

{{ item.remains.all|join:", " }}

{{ item.periods.all|join:", " }}

+{% field "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %} + {% if item.associated_file %}

{{ item.associated_file }}

{% if item.associated_file.is_preventive %} -- cgit v1.2.3