diff options
Diffstat (limited to 'archaeological_operations/templates/ishtar/sheet_operation.html')
-rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ <div class='tool modify'><a href='{% url operation_modify item.pk %}'>{% trans "Modify" %}</a></div> +{% if item.virtual_operation %} +<p class='alert'>{% trans "This operation is virtual." %}</p> +{% endif %} + <h3>{% trans "General"%}</h3> {% if item.common_name %}<p><label>{%trans "Name:"%}</label> <span class='value'>{{ item.common_name }}</span></p>{% endif %} {% if item.year %}<p><label>{%trans "Year:"%}</label> <span class='value strong'>{{ item.year }}</span></p>{% endif %} @@ -54,6 +58,8 @@ <p><label>{%trans "Remains:"%}</label> <span class='value'>{{ item.remains.all|join:", " }}</span></p> <p><label>{%trans "Periods:"%}</label> <span class='value'>{{ item.periods.all|join:", " }}</span></p> +{% field "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %} + {% if item.associated_file %} <p><label>{%trans "Associated file:"%}</label> <span class='value'><a href='#' onclick='load_window("{% url show-file item.associated_file.pk ''%}")'>{{ item.associated_file }}</a></span></p><!-- Displayed as Year/index/Commune/Common_name This should be a link to the file sheet of the related file --> {% if item.associated_file.is_preventive %} |