diff --git a/src/Bundle/ChillActivityBundle/Resources/views/Activity/list_recent.html.twig b/src/Bundle/ChillActivityBundle/Resources/views/Activity/list_recent.html.twig index 567c0b132..9b8f00e96 100644 --- a/src/Bundle/ChillActivityBundle/Resources/views/Activity/list_recent.html.twig +++ b/src/Bundle/ChillActivityBundle/Resources/views/Activity/list_recent.html.twig @@ -2,7 +2,11 @@ {% for activity in activities | slice(0,5) %} {% set t = activity.type %} - + {# + + + #} {% include '@ChillActivity/Activity/activity-badge-title.html.twig' %} diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index a36b50afe..462e805cb 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -52,13 +52,43 @@ {% if accompanyingCourse.locationStatus != 'none' %} {{ accompanyingCourse.location|chill_entity_render_box }} {% endif %} + + + - {% if accompanyingCourse.resources is not empty - and (accompanyingCourse.requestorThirdParty is not null + {% if accompanyingCourse.participations is not empty + or accompanyingCourse.resources is not empty + or (accompanyingCourse.requestorThirdParty is not null or accompanyingCourse.requestorPerson is not null) %} -