Add person alt names in list & view

This commit is contained in:
2020-01-30 16:40:19 +01:00
parent 426458811c
commit 342449aadc
6 changed files with 88 additions and 10 deletions

View File

@@ -42,7 +42,7 @@
<td>
{% set is_open = person.isOpen() %}
<a href="{{ path('chill_person_view', { person_id : person.getId }) }}" {% if chill_person.fields.accompanying_period == 'visible' %}{% if is_open %} alt="{{ 'An accompanying period is open'|trans|e('html_attr') }}"{% else %} alt="{{ 'Any accompanying periods are open'|trans|e('html_attr') }}" {% endif %}{% endif %}>
{{person.firstName}} {{person.lastName}}
{{ person|chill_entity_render_box }}
{% spaceless %}
{% if chill_person.fields.accompanying_period == 'visible' %}
{% if is_open == false %}