Fix type error for displaying comment in accompanying period work detail view page

This commit is contained in:
Julien Fastré 2024-11-12 10:13:20 +01:00
parent 64d91e2afe
commit 3ec0d26001
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 2 additions and 3 deletions

View File

@ -211,7 +211,7 @@
<h3 class="chill-beige">Public</h3> <h3 class="chill-beige">Public</h3>
{% if w.note is not empty %} {% if w.note is not empty %}
<blockquote class="chill-user-quote"> <blockquote class="chill-user-quote">
{{ w.note|chill_entity_render_box({'metadata': true }) }} {{ w.note }}
</blockquote> </blockquote>
{% else %} {% else %}
<span class="chill-no-data-statement">{{ 'No comment associated'|trans }}</span> <span class="chill-no-data-statement">{{ 'No comment associated'|trans }}</span>

View File

@ -237,8 +237,7 @@
{% if displayContent is defined and displayContent == 'long' %} {% if displayContent is defined and displayContent == 'long' %}
{% if e.comment is not empty %} {% if e.comment is not empty %}
<blockquote <blockquote class="chill-user-quote">{{ e.comment }}</blockquote>
class="chill-user-quote">{{ e.comment|chill_entity_render_box }}</blockquote>
{% endif %} {% endif %}
{% import "@ChillDocStore/Macro/macro.html.twig" as m %} {% import "@ChillDocStore/Macro/macro.html.twig" as m %}