concerned parties, split in activity model persons associated or not

This commit is contained in:
2021-06-03 20:20:56 +02:00
parent 987815471c
commit 4ace2fef99
4 changed files with 39 additions and 6 deletions

View File

@@ -1,13 +1,13 @@
{% if context == 'person' %}
{% set blocs = [
{ 'title': 'Persons associated'|trans, 'items': entity.persons },
{ 'title': 'ThirdParties'|trans, 'items': entity.thirdParties },
{ 'title': 'Others persons'|trans, 'items': entity.persons },
{ 'title': 'Third parties'|trans, 'items': entity.thirdParties },
{ 'title': 'Users concerned'|trans, 'items': entity.users },
] %}
{% else %}
{% set blocs = [
{ 'title': 'Persons in accompanying course'|trans, 'items': entity.persons },
{ 'title': 'Third persons'|trans, 'items': entity.persons },
{ 'title': 'Persons in accompanying course'|trans, 'items': entity.personsAssociated },
{ 'title': 'Third persons'|trans, 'items': entity.personsNotAssociated },
{ 'title': 'ThirdParties'|trans, 'items': entity.thirdParties },
{ 'title': 'Users concerned'|trans, 'items': entity.users },
] %}