diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-18 11:24:25 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-18 11:24:25 +0100 |
| commit | 22b0813edb80f378bf4906ab3157c26b0ea73457 (patch) | |
| tree | 92adea84e14590d18bf3caaa996f893a8f9cd3fd /ishtar_common/templates | |
| parent | 38d8bed945ddd40df006ca8032b57489fed38015 (diff) | |
| download | Ishtar-22b0813edb80f378bf4906ab3157c26b0ea73457.tar.bz2 Ishtar-22b0813edb80f378bf4906ab3157c26b0ea73457.zip | |
Sheet person: add related items tables
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/ishtar/sheet_person.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html index 308739619..a32229814 100644 --- a/ishtar_common/templates/ishtar/sheet_person.html +++ b/ishtar_common/templates/ishtar/sheet_person.html @@ -94,6 +94,16 @@ {% dynamic_table_document colla 'operations' 'collaborators__pk' item.pk '' output %} {% endif %} +{% trans "Operations associées en tant que rapporteur CIRA" as cira %} +{% if item.cira_rapporteur.count %} +{% dynamic_table_document cira 'operations' 'cira_rapporteur__pk' item.pk '' output %} +{% endif %} + +{% trans "Associated archaeological sites as collaborator" as colla %} +{% if item.site_collaborator.count %} +{% dynamic_table_document colla 'sites' 'collaborators__pk' item.pk '' output %} +{% endif %} + {% trans "In charge of archaeological files" as af %} {% if item.file_responsability.count %} {% dynamic_table_document af 'files' 'in_charge__pk' item.pk '' output %} @@ -109,6 +119,43 @@ {% dynamic_table_document af 'files' 'responsible_town_planning_service__pk' item.pk '' output %} {% endif %} +{% comment %} to be tested......... +{% trans "In charge of administrative acts" as admin_act %} +{% if item.adminact_operation_in_charge.count %} +{% dynamic_table_document admin_act 'admin_acts' 'in_charge__pk' item.pk '' output %} +{% endif %} + +{% trans "Scientist of administrative acts" as admin_act %} +{% if item.adminact_scientist.count %} +{% dynamic_table_document admin_act 'admin_acts' 'scientist__pk' item.pk '' output %} +{% endif %} + +{% trans "Signatory of administrative acts" as admin_act %} +{% if item.signatory.count %} +{% dynamic_table_document admin_act 'admin_acts' 'signatory__pk' item.pk '' output %} +{% endif %} +{% endcomment %} + +{% trans "In charge of treatments" as tr %} +{% if item.treatments.count %} +{% dynamic_table_document tr 'base_treatments' 'person__pk' item.pk '' output %} +{% endif %} + +{% trans "In charge of treatment files" as tr %} +{% if item.treatmentfile_responsability.count %} +{% dynamic_table_document tr 'treatment_files' 'in_charge__pk' item.pk '' output %} +{% endif %} + +{% trans "Applicant of treatment files" as tr %} +{% if item.treatmentfile_applicant.count %} +{% dynamic_table_document tr 'treatment_files' 'applicant__pk' item.pk '' output %} +{% endif %} + +{% trans "In charge of warehouses" as wh %} +{% if item.warehouse_in_charge.count %} +{% dynamic_table_document wh 'warehouses' 'person_in_charge__pk' item.pk '' output %} +{% endif %} + {% if item.docs_q.count %} {% trans "Documents" as docs %} {% dynamic_table_document docs 'documents' 'authors__person__pk' item.pk '' output %} |
