[course list in person context] show renderbox for referent

This commit is contained in:
Julien Fastré 2022-01-16 23:34:35 +01:00
parent ce6e51df87
commit 3034ba411f
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ and this project adheres to
<!-- write down unreleased development here -->
* [main] Add mainLocation field to User entity and add it in user form type
* rewrite page which allow to select activity
* [main] Add mainLocation field to User entity and add it in user form type
* [course list in person context] show full username/label for ref
## Test releases

View File

@ -45,7 +45,7 @@
{% if chill_accompanying_periods.fields.user == 'visible' %}
{% if period.user %}
<abbr class="referrer" title="{{ 'Referrer'|trans }}">{{ 'Referrer'|trans }}:</abbr>
{{ period.user.username|chill_entity_render_box }}
{{ period.user|chill_entity_render_box }}
{% else %}
<span class="chill-no-data-statement">{{ 'No accompanying user'|trans }}</span>
{% endif %}