From dc08e5f643562a6ecf3b208c1e2cd44e5350af3c Mon Sep 17 00:00:00 2001 From: Valérie-Emma Leroux Date: Fri, 17 Mar 2017 11:13:56 +0100 Subject: Update labels (without ':') --- .../templates/ishtar/sheet_contextrecord.html | 10 +++---- .../templates/ishtar/sheet_file.html | 32 +++++++++++----------- .../templates/ishtar/sheet_find.html | 10 +++---- .../templates/ishtar/sheet_administrativeact.html | 6 ++-- .../templates/ishtar/sheet_operation.html | 10 +++---- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 8398a0523..c5693edfb 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -15,7 +15,7 @@ {% include "ishtar/blocks/sheet_external_id.html" %} {% field "Comment" item.comment "
" "
" %}

{% trans "Localisation"%}

-{% if item.towns.count %}

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

{% endif %} -{% if item.departments.count %}

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

{% endif %} +{% if item.towns.count %}

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

{% endif %} +{% if item.departments.count %}

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

{% endif %} {% if item.address %} -

{{ item.address }}

-{% if item.address_complement %}

{{ item.address_complement }}

{%endif%} -{% if item.postal_code %}

{{ item.postal_code }}

{%endif%} +

{{ item.address }}

+{% if item.address_complement %}

{{ item.address_complement }}

{%endif%} +{% if item.postal_code %}

{{ item.postal_code }}

{%endif%} {% endif %} -{% if item.total_surface %}

{{ item.total_surface }} m2 ({{ item.total_surface_ha }} ha)

{%endif%} +{% if item.total_surface %}

{{ item.total_surface }} m2 ({{ item.total_surface_ha }} ha)

{%endif%} {% if item.is_preventive %}

{% trans "Preventive archaeological file"%}

diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 48116433c..1e6d71c44 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -33,13 +33,13 @@ {% field_li_detail "Head scientist" item.scientist %} {% field_li_detail "In charge" item.in_charge %} {% field_li_detail "Operator" item.operator %} -
  • {% if item.is_active %}{%trans "Active file"%}

    +
  • {% if item.is_active %}{%trans "Active file"%}

    {% else %}{%trans "Closed operation"%}
  • {% endif %} -{% if item.closing.date %}
  • {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}
  • {% endif %} +{% if item.closing.date %}
  • {{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}
  • {% endif %} {% field_li "Type" item.operation_type %} -{% if item.surface %}
  • {{ item.surface }} m2 ({{ item.surface_ha }} ha)
  • {% endif %} -{% if item.cost %}
  • {{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m2){%endif%}
  • {%endif%} -{% if item.duration %}
  • {{ item.duration }} {%trans "Day"%}s
  • {%endif%} +{% if item.surface %}
  • {{ item.surface }} m2 ({{ item.surface_ha }} ha)
  • {% endif %} +{% if item.cost %}
  • {{ item.cost }} €{% if item.cost_by_m2 %}, ({{ item.cost_by_m2 }} €/m2){%endif%}
  • {%endif%} +{% if item.duration %}
  • {{ item.duration }} {%trans "Day"%}s
  • {%endif%} {% field_li_multiple "Remains" item.remains %} {% field_li_multiple "Periods" item.periods %} {% if item.QUALITY_DICT %}{% field_li "Record quality" item.record_quality|from_dict:item.QUALITY_DICT %}{% endif %} -- cgit v1.2.3