From c7a866fa44e6d46662337a9d7834a099f6e3cc22 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 20 Feb 2014 13:09:03 +0100 Subject: Operations: in_charge -> scientist - new field in_charge (refs #1600) * model update * forms update * templates update * search update * operation owned update --- .../templates/ishtar/dashboards/dashboard_operation.html | 2 +- archaeological_operations/templates/ishtar/sheet_operation.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'archaeological_operations/templates') diff --git a/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html b/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html index e67214fbf..765bdc7e4 100644 --- a/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html +++ b/archaeological_operations/templates/ishtar/dashboards/dashboard_operation.html @@ -172,7 +172,7 @@ {% for org in dashboard.survey.org %} - {{org.in_charge__attached_to__name}}{{org.area}}{{org.manday}}{{org.mandayhect}} + {{org.scientist__attached_to__name}}{{org.area}}{{org.manday}}{{org.mandayhect}} {% endfor %} diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index b403d29df..b99ace961 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -39,7 +39,8 @@ {% if item.start_date %}

{{ item.start_date }}

{{ item.excavation_end_date|default:"-" }}

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

{{ item.in_charge.full_label }}

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

{{ item.scientist.full_label }}

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

{{ item.in_charge.full_label }}

{%endif%}

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

{% else %}{%trans "Closed operation"%}

{{ item.closing.date }} {%trans "by" %} {{ item.closing.user }}

-- cgit v1.2.3