mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
comments truncated and link added to comment page
This commit is contained in:
parent
7513187a6d
commit
7943c22ae7
@ -77,7 +77,10 @@
|
|||||||
<h4 class="item-key visually-hidden">{{ 'Pinned comment'|trans }}</h4>
|
<h4 class="item-key visually-hidden">{{ 'Pinned comment'|trans }}</h4>
|
||||||
<blockquote class="chill-user-quote">
|
<blockquote class="chill-user-quote">
|
||||||
<i class="fa fa-flag float-end text-chill-gray" title="{{ 'pinned'|trans }}"></i>
|
<i class="fa fa-flag float-end text-chill-gray" title="{{ 'pinned'|trans }}"></i>
|
||||||
{{ accompanyingCourse.pinnedComment.content|chill_markdown_to_html }}
|
{{ accompanyingCourse.pinnedComment.content|u.truncate(250, '…', false)|chill_markdown_to_html }}
|
||||||
|
{% if accompanyingCourse.pinnedComment.content|length > 250 %}
|
||||||
|
<a href="{{ chill_path_add_return_path('chill_person_accompanying_period_comment_list', {'accompanying_period_id': accompanyingCourse.id}) }}">{{ 'Read more'|trans }}</a>
|
||||||
|
{% endif %}
|
||||||
<div class="metadata">
|
<div class="metadata">
|
||||||
{{ 'Last updated by'| trans }}
|
{{ 'Last updated by'| trans }}
|
||||||
<span class="user">
|
<span class="user">
|
||||||
|
@ -430,6 +430,7 @@ accompanying_course_comment:
|
|||||||
Comment removed: Commentaire supprimé
|
Comment removed: Commentaire supprimé
|
||||||
Remove comment: Supprimer le commentaire
|
Remove comment: Supprimer le commentaire
|
||||||
Are you sure you want to remove comment ?: Étes-vous sûr de vouloir supprimer ce commentaire ?
|
Are you sure you want to remove comment ?: Étes-vous sûr de vouloir supprimer ce commentaire ?
|
||||||
|
Read more: En savoir plus
|
||||||
|
|
||||||
# Household
|
# Household
|
||||||
Household: Ménage
|
Household: Ménage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user