diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig index e8f6f1171..6477f4a95 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/_item.html.twig @@ -83,9 +83,9 @@
{%- if w.referrers|length > 0 -%} - {% for r in w.referrers %} + {% for r in w.referrersHistory %} - {{ r|chill_entity_render_box }} + {{ r.user|chill_entity_render_box({'at_date': r.startDate}) }} {% if not loop.last %}, {% endif %} {% endfor %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_recent_by_accompanying_period.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_recent_by_accompanying_period.html.twig index 21552e44c..30bdc44d2 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_recent_by_accompanying_period.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourseWork/list_recent_by_accompanying_period.html.twig @@ -33,8 +33,8 @@ {% if w.referrers %}
  • {{ 'Referrers'|trans ~ ' : ' }} - {% for rh in w.referrers %} - {{ rh|chill_entity_render_box }} + {% for rh in w.referrersHistory %} + {{ rh.user|chill_entity_render_box({'at_date': rh.startDate}) }} {% endfor %} {% if w.referrers|length == 0 %} {{ 'Not given'|trans }}