{% extends "ishtar/sheet.html" %}
{% load i18n window_field window_header window_tables %}
{% block head_title %}{% trans "Context Record" %}{% endblock %}
{% block content %}
{% window_nav item window_id 'show-contextrecord' 'record_modify' 'show-historized-contextrecord' 'revert-contextrecord' previous next 1 %}
{% if item.image %}
{% endif%}
" "" %} {% if item.description or item.lenght or item.width or item.depth or item.thickness or item.comment %}
" "" %} {% field "Comment" item.comment "
" "" %}
" "" %} {% field "Interpretation" item.interpretation "
" "" %} {% endif %} {% if item.taq or item.taq_estimated or item.tpq or item.tpq_estimated %}
{% endif %}
" "" %}
{{ item.operation.towns.all|join:", " }}
{% else %}{% endif %} {% trans "Document from this context record" as cr_docs %} {% if item.source.count %} {% dynamic_table_document cr_docs 'context_records_docs' 'context_record' item.pk '' output %} {% endif %} {% trans "Finds" as finds %} {% if item.base_finds.count %} {% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record' item.pk 'TABLE_COLS_FOR_OPE' output %} {% endif %} {% trans "Documents from associated finds" as finds_docs %} {% if item.find_docs_q.count %} {% dynamic_table_document finds_docs 'finds_docs' 'find__base_finds__context_record' item.pk '' output %} {% endif %} {% endblock %}