diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig index dac937001..ce95b8401 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/index.html.twig @@ -77,7 +77,10 @@
- {{ accompanyingCourse.pinnedComment.content|chill_markdown_to_html }} + {{ accompanyingCourse.pinnedComment.content|u.truncate(250, '…', false)|chill_markdown_to_html }} + {% if accompanyingCourse.pinnedComment.content|length > 250 %} + {{ 'Read more'|trans }} + {% endif %}