mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
diaplay initialComment on course resume page
This commit is contained in:
parent
133e4858dc
commit
5526790d42
@ -56,6 +56,7 @@ centers: centres
|
|||||||
Centers: Centres
|
Centers: Centres
|
||||||
comment: commentaire
|
comment: commentaire
|
||||||
Comment: Commentaire
|
Comment: Commentaire
|
||||||
|
Pinned comment: Commentaire épinglé
|
||||||
Any comment: Aucun commentaire
|
Any comment: Aucun commentaire
|
||||||
|
|
||||||
# comment embeddable
|
# comment embeddable
|
||||||
|
@ -78,6 +78,25 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if accompanyingCourse.initialComment is not empty %}
|
||||||
|
<div class="col col-sm-6 col-lg-4 comment mb-4">
|
||||||
|
<h4 class="item-key">{{ 'Pinned comment'|trans }}</h4>
|
||||||
|
<blockquote class="chill-user-quote">
|
||||||
|
{{ accompanyingCourse.initialComment.content }}
|
||||||
|
<div class="metadata">
|
||||||
|
{{ 'Last updated by'| trans }}
|
||||||
|
<span class="user">
|
||||||
|
{{ accompanyingCourse.initialComment.updatedBy|chill_entity_render_box }}
|
||||||
|
</span>
|
||||||
|
{{ 'on'|trans ~ ' ' }}
|
||||||
|
<span class="date">
|
||||||
|
{{ accompanyingCourse.initialComment.updatedAt|format_datetime("medium", "short") }}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if accompanyingCourse.scopes is not empty %}
|
{% if accompanyingCourse.scopes is not empty %}
|
||||||
<div class="col col-sm-6 col-lg-4 scopes mb-4">
|
<div class="col col-sm-6 col-lg-4 scopes mb-4">
|
||||||
<h4 class="item-key">{{ 'Scopes'|trans }}</h4>
|
<h4 class="item-key">{{ 'Scopes'|trans }}</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user