diff options
| -rw-r--r-- | archaeological_operations/models.py | 1 | ||||
| -rw-r--r-- | ishtar_common/templates/ishtar/sheet_person.html | 6 | 
2 files changed, 7 insertions, 0 deletions
| diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 3be4dd95d..637bbb7be 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -424,6 +424,7 @@ class Operation(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter,          'towns_label': 'towns',          'scientist__pk': 'scientist__pk',          'in_charge__pk': 'in_charge__pk', +        'collaborators__pk': 'collaborators__pk',      }      COL_LABELS = { diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html index ef8bb9064..308739619 100644 --- a/ishtar_common/templates/ishtar/sheet_person.html +++ b/ishtar_common/templates/ishtar/sheet_person.html @@ -83,11 +83,17 @@  {% if item.operation_scientist_responsability.count %}  {% dynamic_table_document ao 'operations' 'scientist__pk' item.pk '' output %}  {% endif %} +  {% trans "Associated operations as responsible" as ao %}  {% if item.operation_responsability.count %}  {% dynamic_table_document ao 'operations' 'in_charge__pk' item.pk '' output %}  {% endif %} +{% trans "Associated operations as collaborator" as colla %} +{% if item.operation_collaborator.count %} +{% dynamic_table_document colla 'operations' '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 %} | 
