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_administrativeact.html | 6 +++---
.../templates/ishtar/sheet_operation.html | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
(limited to 'archaeological_operations')
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
index 080275aa9..92246ba80 100644
--- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html
+++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
@@ -33,13 +33,13 @@
{% field_li_detail "Treatment request" item.treatment_file %}
{% if item.operation and item.operation.surface %}
- {{ item.operation.surface }} m2 ({{ item.operation.surface_ha }} ha)
+ {{ item.operation.surface }} m2 ({{ item.operation.surface_ha }} ha)
{% endif %}
{% field_li_detail "Created by" item.history_creator.ishtaruser.person %}
{% comment %}{% if item.general_contractor.attached_to %}
-
+
{{ item.general_contractor.attached_to }}
{% endif %}
-{% if item.general_contractor %} {{ item.general_contractor.full_label }}
{% endif %}
+{% if item.general_contractor %} {{ item.general_contractor.full_label }}
{% endif %}
{% endcomment %}
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