From 802a2e38c9cfc91653cd445c1213d1ca77a85b99 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 11 Jul 2019 13:43:47 +0200 Subject: Sheet operation: refactoring --- .../templates/ishtar/sheet_contextrecord.html | 6 + .../templates/ishtar/sheet_operation.html | 758 ++++++++++++--------- 2 files changed, 447 insertions(+), 317 deletions(-) diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 6fcf5e9da..0643a40fc 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -115,6 +115,12 @@ + {% else %} +
+

{{ item.parcel.short_label }}

+

{{ item.label|default:"" }}

+ {% include "ishtar/blocks/sheet_external_id.html" %} +
{% endif %}
{% field_flex_2 "Complete ID" item.full_label %} diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 6ed3c1b4c..cc556a9fd 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_header window_ope_tables window_field from_dict %} +{% load i18n ishtar_helpers window_tables window_header window_ope_tables window_field from_dict %} {% block head_title %}{% trans "Operation" %} - {{item.short_label}}{% if item.common_name %} - {{item.common_name}}{% endif %}{% endblock %} @@ -9,359 +9,483 @@ {% block content %} -

{% trans "General"%}

+{# trick to set to null non existing variable #} +{% with permission_view_document=permission_view_document %} +{% with permission_view_own_document=permission_view_own_document %} +{% with permission_view_find=permission_view_find %} +{% with permission_view_own_find=permission_view_own_find %} +{% with permission_view_contextrecord=permission_view_contextrecord %} +{% with permission_view_own_contextrecord=permission_view_own_contextrecord %} +{% with permission_view_container=permission_view_container %} +{% with permission_view_own_container=permission_view_own_container %} + +{% with display_data=item.data %} +{% with display_relations=item.right_relations.count|or_:item.left_relations.count %} +{% with display_sites=item.archaeological_sites.count|or_:item.grouped_parcels|or_:item.administrative_act.count %} +{% with perm_documents=permission_view_own_document|or_:permission_view_document %} +{% with display_documents=perm_documents|and_:item.documents.count %} +{% with perm_context_records=permission_view_own_contextrecord|or_:permission_view_contextrecord %} +{% with display_context_records=perm_context_records|and_:item.context_record.count %} +{% with perm_find=permission_view_own_find|or_:permission_view_find %} +{% with display_finds=perm_find|and_:item.has_finds %} + +{% if output != "ODT" and output != "PDF"%} + +{% endif %} -
-
- {% include "ishtar/blocks/window_image.html" %} -
-
-
- {% if item.year or item.operation_code %} - {{item.year|default:''}}-{{item.operation_code|default:''}}{% endif %}
- {% if item.code_patriarche %}OA{{item.code_patriarche}}{% endif %} -
-
- {% include "ishtar/blocks/sheet_external_id.html" %} +
+
+ +
+
+ {% include "ishtar/blocks/window_image.html" %} +
+
+
+ {% if item.year or item.operation_code %} + {{item.year|default:''}}-{{item.operation_code|default:''}}{% endif %}
+ {% if item.code_patriarche %}OA{{item.code_patriarche}}{% endif %} +
+
+ {% include "ishtar/blocks/sheet_external_id.html" %} +
+
+

+

{{item.common_name|default:''}}

+

{{item.address|default:''}}

+

-

-

{{item.common_name|default:''}}

-

{{item.address|default:''}}

-

-
-
-
- {% field_flex_2 "Code DRASSM" item.drassm_code %} - {% field_flex_2 "Old code" item.old_code %} - {% trans "Begining date" as begining_date_label %} - {% field_flex_2 begining_date_label item.start_date|date:"DATE_FORMAT" %} - {% field_flex_2 "Excavation end date" item.excavation_end_date|date:"DATE_FORMAT"|default:"-" %} - {% with has_image=item.images.count %} - {% if not has_image %} -
-
-
- {% endif %} +
+ {% field_flex_2 "Code DRASSM" item.drassm_code %} + {% field_flex_2 "Old code" item.old_code %} + {% trans "Begining date" as begining_date_label %} + {% field_flex_2 begining_date_label item.start_date|date:"DATE_FORMAT" %} + {% field_flex_2 "Excavation end date" item.excavation_end_date|date:"DATE_FORMAT"|default:"-" %} + {% with has_image=item.images.count %} + {% if not has_image %} +
+
+
+ {% endif %} + + {% field_flex_detail "Head scientist" item.scientist has_image %} + {% field_flex_detail "In charge" item.in_charge has_image %} + {% field_flex_multiple "Collaborators" item.collaborators has_image %} + {% field_flex_detail "Operator" item.operator has_image %} +
+
{%trans "State"%}
+
+ {% if item.is_active %}{%trans "Active file"%} + {% else %}{%trans "Closed operation"%}{% endif %} +
+
+ {% if item.closing.date %} +
+
{%trans "Closing date"%}
+
+ {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }} +
+
+ {% endif %} + {% field_flex_2 "Type" item.operation_type %} + {% if item.surface %} +
+
{%trans "Surface"%}
+
+ {{ item.surface }} m2 ({{ item.surface_ha }} ha) +
+
+ {% endif %} + {% if item.cost %} +
+
{%trans "Cost" %}
+
+ {{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m2){%endif%} +
+
+ {% endif %} + {% if item.duration %} +
+
{%trans "Duration"%}
+
+ {{ item.duration }} {% trans "days" %} +
+
+ {% endif %} + {% if has_image %} +
+ {% endif %} + {% endwith %} +
+
+ {% field_flex_multiple_obj "Remains" item 'remains' %} + {% field_flex_multiple_obj "Periods" item 'periods' %} + {% field_flex "Record quality" item.record_quality_type %} + {% field_flex "Report delivery date" item.report_delivery_date %} + {% field_flex "Report processing" item.report_processing %} + {% field_flex "Deadline for submission of the documentation" item.documentation_deadline %} + {% field_flex "Documentation received" item.documentation_received %} + {% field_flex "Deadline for submission of the finds" item.finds_deadline %} + {% field_flex "Finds received" item.finds_received %} + {% field_flex_detail "Associated file" item.associated_file %} + {% field_flex "Responsible for planning service" item.associated_file.responsible_town_planning_service.full_address %} + {% if item.associated_file.town_planning_service %} + {% field_flex "Planning service organization" item.associated_file.town_planning_service.full_address %} + {% else %} + {% field_flex "Planning service organization" item.associated_file.responsible_town_planning_service.attached_to.full_address %} + {% endif %} + {% field_flex "Permit type" item.associated_file.permit_type %} + {% field_flex "Permit reference" item.associated_file.permit_reference %} + {% field_flex "General contractor" item.associated_file.general_contractor.full_address %} + {% if item.associated_file.corporation_general_contractor %} + {% field_flex "General contractor organization" item.associated_file.corporation_general_contractor.full_address %} + {% else%} + {% field_flex "General contractor organization" item.associated_file.general_contractor.attached_to.full_address %} + {% endif %} +
+
+ {% field_flex_full "Comment" item.comment "
" "
" %} + {% field_flex_full "Abstract" item.abstract "
" "
" %} + {% field_flex_full "Comment about scientific documentation" item.scientific_documentation_comment "
" "
" %} +
- {% field_flex_detail "Head scientist" item.scientist has_image %} - {% field_flex_detail "In charge" item.in_charge has_image %} - {% field_flex_multiple "Collaborators" item.collaborators has_image %} - {% field_flex_detail "Operator" item.operator has_image %} -
-
{%trans "State"%}
-
- {% if item.is_active %}{%trans "Active file"%} - {% else %}{%trans "Closed operation"%}{% endif %} -
+

{% trans "Sheet"%}

+
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
- {% if item.closing.date %} -
-
{%trans "Closing date"%}
-
- {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }} -
+ + {% if item.virtual_operation %} + {% endif %} - {% field_flex_2 "Type" item.operation_type %} - {% if item.surface %} -
-
{%trans "Surface"%}
-
- {{ item.surface }} m2 ({{ item.surface_ha }} ha) -
+ + {% if not item.code_patriarche %} + {% endif %} - {% if item.cost %} -
-
{%trans "Cost" %}
-
- {{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m2){%endif%} -
+ + {% if item.seizure_name or item.official_report_number or item.name_of_the_protagonist %} +

{% trans "Court-ordered seizure"%}

+
+ {% field_flex "Seizure name" item.seizure_name %} + {% field_flex "Official report number" item.official_report_number %} + {% field_flex "Name of the protagonist" item.name_of_the_protagonist %}
{% endif %} - {% if item.duration %} -
-
{%trans "Duration"%}
-
- {{ item.duration }} {% trans "days" %} -
+ +

{% trans "Localisation"%}

+
+ {% with geo_item=item %} + {% include "ishtar/blocks/sheet_simple_map.html"%} +
+ {% include "ishtar/blocks/sheet_coordinates.html"%} + {% if next %} + {% field_flex_full "Towns" item|m2m_listing:'towns'|join:" ; " %} + {% else %} + {% field_flex_full "Towns" item.towns_codes|join:" ; " %} + {% endif %} + {% field_flex "Main address" item.associated_file.address %} + {% field_flex "Complement" item.associated_file.address_complement %} + {% field_flex "Postal code" item.associated_file.postal_code %} +
+ {% endwith %}
- {% endif %} - {% if has_image %}
- {% endif %} - {% endwith %} -
-
-
- {% field_flex_multiple_obj "Remains" item 'remains' %} - {% field_flex_multiple_obj "Periods" item 'periods' %} - {% field_flex "Record quality" item.record_quality_type %} - {% field_flex "Report delivery date" item.report_delivery_date %} - {% field_flex "Report processing" item.report_processing %} - {% field_flex "Deadline for submission of the documentation" item.documentation_deadline %} - {% field_flex "Documentation received" item.documentation_received %} - {% field_flex "Deadline for submission of the finds" item.finds_deadline %} - {% field_flex "Finds received" item.finds_received %} - {% field_flex_detail "Associated file" item.associated_file %} - {% field_flex "Responsible for planning service" item.associated_file.responsible_town_planning_service.full_address %} - {% if item.associated_file.town_planning_service %} - {% field_flex "Planning service organization" item.associated_file.town_planning_service.full_address %} - {% else %} - {% field_flex "Planning service organization" item.associated_file.responsible_town_planning_service.attached_to.full_address %} - {% endif %} - {% field_flex "Permit type" item.associated_file.permit_type %} - {% field_flex "Permit reference" item.associated_file.permit_reference %} - {% field_flex "General contractor" item.associated_file.general_contractor.full_address %} - {% if item.associated_file.corporation_general_contractor %} - {% field_flex "General contractor organization" item.associated_file.corporation_general_contractor.full_address %} - {% else%} - {% field_flex "General contractor organization" item.associated_file.general_contractor.attached_to.full_address %} - {% endif %} -
-
- {% field_flex_full "Comment" item.comment "
" "
" %} - {% field_flex_full "Abstract" item.abstract "
" "
" %} - {% field_flex_full "Comment about scientific documentation" item.scientific_documentation_comment "
" "
" %} -
- -

{% trans "Sheet"%}

-
- {% include "ishtar/blocks/sheet_creation_section.html" %} -
- -{% include "ishtar/blocks/sheet_json.html" %} - -{% if item.virtual_operation %} - -{% endif %} -{% if not item.code_patriarche %} - -{% endif %} + {% if display_sites %} +
+ {% if item.archaeological_sites.count %} + {% trans "Archaeological sites" as archaeologicalsites_label %} + {% dynamic_table_document archaeologicalsites_label 'sites' 'operations' item.pk '' output %} + {% endif %} -{% if item.seizure_name or item.official_report_number or item.name_of_the_protagonist %} -

{% trans "Court-ordered seizure"%}

-
- {% field_flex "Seizure name" item.seizure_name %} - {% field_flex "Official report number" item.official_report_number %} - {% field_flex "Name of the protagonist" item.name_of_the_protagonist %} -
-{% endif %} + {% if item.grouped_parcels %} + {% trans "Associated parcels" as parcels_label %} + {% include "ishtar/blocks/window_tables/parcels.html" %} + {% endif %} -

{% trans "Localisation"%}

-
- {% with geo_item=item %} - {% include "ishtar/blocks/sheet_simple_map.html"%} -
- {% include "ishtar/blocks/sheet_coordinates.html"%} - {% if next %} - {% field_flex_full "Towns" item|m2m_listing:'towns'|join:" ; " %} - {% else %} - {% field_flex_full "Towns" item.towns_codes|join:" ; " %} + {% if item.administrative_act.count %} +

{% trans "Administrative acts" %}

+ {% table_administrativact "" item.administrative_act.all %} {% endif %} - {% field_flex "Main address" item.associated_file.address %} - {% field_flex "Complement" item.associated_file.address_complement %} - {% field_flex "Postal code" item.associated_file.postal_code %}
- {% endwith %} -
+ {% endif %} -{% if item.right_relations.count %} -

{% trans "Relations"%}

-{% for rel in item.right_relations.all %} -{% ifchanged rel.relation_type %} -

{{rel.relation_type}}

-
{% endifchanged %} -
- - - {{rel.right_record}} + {% if display_documents %} +
+ {% trans "Document from this operation" as operation_docs %} + {% dynamic_table_document operation_docs 'documents' 'operations' item.pk '' output %}
-{% if forloop.last %} -
{% endif %} -{% endfor %} - -{% if item.relation_image %} -
- {% if output != "ODT" %}{% endif %} - - {% if output != "ODT" %}{% endif %} -
-
-{% endif %} -{% endif %} - -{% if item.archaeological_sites.count %} -{% trans "Archaeological sites" as archaeologicalsites_label %} -{% dynamic_table_document archaeologicalsites_label 'sites' 'operations' item.pk '' output %} -{% endif %} - -{% if item.grouped_parcels %} -{% trans "Associated parcels" as parcels_label %} -{% include "ishtar/blocks/window_tables/parcels.html" %} -{% endif %} - -{% if item.administrative_act.count %} -

{% trans "Administrative acts" %}

-{% table_administrativact "" item.administrative_act.all %} -{% endif %} + {% endif %} -{% trans "Document from this operation" as operation_docs %} -{% if permission_view_own_document or permission_view_document %} -{% if item.documents.count %} -{% dynamic_table_document operation_docs 'documents' 'operations' item.pk '' output %} -{% endif %} -{% endif %} + {% if display_relations %} +
+ + {% if item.right_relations.count %} +

{% trans "Relations"%}

+ {% for rel in item.right_relations.all %} + {% ifchanged rel.relation_type %} +

{{rel.relation_type}}

+
{% endifchanged %} +
+ + + {{rel.right_record}} +
+ {% if forloop.last %} +
{% endif %} + {% endfor %} + {% endif %} +
+ {% endif %} + + {% if display_context_records %} +
+ {% trans "Context records" as cr_lab %} + {% dynamic_table_document cr_lab 'context_records_for_ope' 'operation_id' item.pk 'TABLE_COLS_FOR_OPE' output %} + + {% if item.context_record_relations_q.count %} + {% trans "Context record relations" as cr_rels %} + {% dynamic_table_document cr_rels 'context_records_relations_detail' 'left_record__operation' item.pk '' output %} + {% endif %} -{% if permission_view_own_contextrecord or permission_view_contextrecord %} -{% if item.context_record.count %} -{% trans "Context records" as cr_lab %} -{% dynamic_table_document cr_lab 'context_records_for_ope' 'operation_id' item.pk 'TABLE_COLS_FOR_OPE' output %} -{% endif %} + {% if permission_view_own_document or permission_view_document %} + {% if item.context_record_docs_q.count %} + {% trans "Documents from associated context records" as cr_docs %} + {% dynamic_table_document cr_docs 'documents' 'context_records__operation' item.pk '' output %} + {% endif %} + {% if item.context_record_relations_q.count %} -{% if item.context_record_relations_q.count %} -{% trans "Context record relations" as cr_rels %} -{% dynamic_table_document cr_rels 'context_records_relations_detail' 'left_record__operation' item.pk '' output %} -{% endif %} +

{% trans "Diagram of statigraphic relations" %}

+ {% with gen_url='generate-relation-image-contextrecord' %} -{% if permission_view_own_document or permission_view_document %} -{% if item.context_record_docs_q.count %} -{% trans "Documents from associated context records" as cr_docs %} -{% dynamic_table_document cr_docs 'documents' 'context_records__operation' item.pk '' output %} -{% endif %} -{% endif %} + {% with relation_type="full" %} + {% with relation_image=item.relation_image %} + {% with relation_png=item.relation_bitmap_image %} + {% with relation_dot=item.relation_dot %} + {% include "ishtar/blocks/sheet_relation_image.html" %} + {% endwith %}{% endwith %}{% endwith %}{% endwith %} -{% endif %} + {% endwith %} + {% endif %} +
+ {% endif %} -{% if item.finds %} -{% trans "Finds" as finds %} -{% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' output %} -{% endif %} + {% if display_finds %} +
+ {% trans "Finds" as finds %} + {% dynamic_table_document finds 'finds_for_ope' 'base_finds__context_record__operation' item.pk 'TABLE_COLS_FOR_OPE' output %} + {% endif %} -{% if permission_view_own_document or permission_view_document %} -{% if item.find_docs_q.count %} -{% trans "Documents from associated finds" as finds_docs %} -{% dynamic_table_document finds_docs 'documents' 'finds__base_finds__context_record__operation' item.pk '' output %} -{% endif %} -{% endif %} + {% if perm_documents and item.find_docs_q.count %} + {% trans "Documents from associated finds" as finds_docs %} + {% dynamic_table_document finds_docs 'documents' 'finds__base_finds__context_record__operation' item.pk '' output %} + {% endif %} -{% if permission_view_own_container or permission_view_container %} -{% if item.containers_q.count %} -{% trans "Associated containers" as containers_lbl %} -{% dynamic_table_document containers_lbl 'containers' 'finds__base_finds__context_record__operation' item.pk '' output %} -{% endif %} -{% endif %} + {% if permission_view_own_container or permission_view_container %} + {% if item.containers_q.count %} + {% trans "Associated containers" as containers_lbl %} + {% dynamic_table_document containers_lbl 'containers' 'finds__base_finds__context_record__operation' item.pk '' output %} + {% endif %} + {% endif %} +
+ {% endif %} -

{% trans "Statistics" %}

-{% trans "These numbers are updated hourly" %} + {% if display_data %} +
+ {% include "ishtar/blocks/sheet_json.html" %} +
+ {% endif %} +
+

{% trans "Statistics" %}

+ {% trans "These numbers are updated hourly" %} + +

{% trans "Administrative acts" %}

+
+ {% field_flex_2 "Number of administrative acts" item.nb_acts %} + {% field_flex_2 "Number of indexed administrative acts" item.nb_indexed_acts %} +
-

{% trans "Administrative acts" %}

-
-{% field_flex_2 "Number of administrative acts" item.nb_acts %} -{% field_flex_2 "Number of indexed administrative acts" item.nb_indexed_acts %} -
+

{% trans "Parcels" %}

+
+ {% field_flex_2 "Number of parcels" item.nb_parcels %} +
-

{% trans "Parcels" %}

-
-{% field_flex_2 "Number of parcels" item.nb_parcels %} -
+

{% trans "Context records" %}

+
+ {% field_flex_2 "Number of context records" item.nb_context_records %} +
+
+ {% if item.nb_context_records_by_type %} +
+ + + {% for label, nb in item.nb_context_records_by_type %} + + {% endfor %} +
{% trans "Type" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
+
+ {% endif %} + {% if item.nb_context_records_by_periods %} +
+ + + {% for label, nb in item.nb_context_records_by_periods %} + + {% endfor %} +
{% trans "Period" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
+
+ {% endif %} +
-

{% trans "Context records" %}

-
-{% field_flex_2 "Number of context records" item.nb_context_records %} -
-
-{% if item.nb_context_records_by_type %} -
- - - {% for label, nb in item.nb_context_records_by_type %} - - {% endfor %} -
{% trans "Type" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
-
-{% endif %} -{% if item.nb_context_records_by_periods %} -
- - - {% for label, nb in item.nb_context_records_by_periods %} - - {% endfor %} -
{% trans "Period" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
-
-{% endif %} -
+

{% trans "Finds" %}

+
+ {% field_flex_2 "Number of finds" item.nb_finds %} +
+
+ {% if item.nb_finds_by_material_type %} +
+ + + {% for label, nb in item.nb_finds_by_material_type %} + + {% endfor %} +
{% trans "Material type" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
+
+ {% endif %} + {% if item.nb_finds_by_types %} +
+ + + {% for label, nb in item.nb_finds_by_types %} + + {% endfor %} +
{% trans "Object type" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ {% endif %} + {% if item.nb_finds_by_periods %} +
+ + + {% for label, nb in item.nb_finds_by_periods %} + + {% endfor %} +
{% trans "Period" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
+
+ {% endif %} +
-

{% trans "Finds" %}

-
-{% field_flex_2 "Number of finds" item.nb_finds %} -
-
-{% if item.nb_finds_by_material_type %} -
- - - {% for label, nb in item.nb_finds_by_material_type %} - - {% endfor %} -
{% trans "Material type" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
-
-{% endif %} -{% if item.nb_finds_by_types %} -
- - - {% for label, nb in item.nb_finds_by_types %} - - {% endfor %} -
{% trans "Object type" %}{% trans "Number" %}
{{label}}{{nb}}
-
-{% endif %} -{% if item.nb_finds_by_periods %} -
- - - {% for label, nb in item.nb_finds_by_periods %} - - {% endfor %} -
{% trans "Period" %}{% trans "Number" %}
{{label|default:"-"}}{{nb}}
-
-{% endif %} -
+

{% trans "Sources" %}

+
+ {% field_flex "Number of sources" item.nb_documents %} +
+
+ {% if item.nb_documents_by_types %} +
+ + + {% for label, nb in item.nb_documents_by_types %} + + {% endfor %} +
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
+
+ {% endif %} +
-

{% trans "Sources" %}

-
-{% field_flex "Number of sources" item.nb_documents %} -
-
-{% if item.nb_documents_by_types %} -
- - - {% for label, nb in item.nb_documents_by_types %} - - {% endfor %} -
{% trans "Type" %}{% trans "Number" %}
{{label}}{{nb}}
+ {% if item.nb_stats_finds_by_ue %} +

{% trans "Finds by context records" %}

+
+ {% field_flex_2 "Mean" item.nb_stats_finds_by_ue.mean %} + {% field_flex_2 "Min" item.nb_stats_finds_by_ue.min %} + {% field_flex_2 "Max" item.nb_stats_finds_by_ue.max %} + {% field_flex_2 "Mode" item.nb_stats_finds_by_ue.mode %} +
+ {% endif %}
-{% endif %}
-{% if item.nb_stats_finds_by_ue %} -

{% trans "Finds by context records" %}

-
-{% field_flex_2 "Mean" item.nb_stats_finds_by_ue.mean %} -{% field_flex_2 "Min" item.nb_stats_finds_by_ue.min %} -{% field_flex_2 "Max" item.nb_stats_finds_by_ue.max %} -{% field_flex_2 "Mode" item.nb_stats_finds_by_ue.mode %} -
-{% endif %} +{% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endblock %} \ No newline at end of file -- cgit v1.2.3