Add some comments

This commit is contained in:
2024-06-14 13:24:33 +02:00
parent 71ddec420c
commit 11bcd9a83d
9 changed files with 41 additions and 3 deletions

View File

@@ -2,9 +2,9 @@
<div class="card">
<div class="card-body">
<h5 class="card-title">
{{ comment.author.email }} le {{ comment.createdAt | date }}
{{ 'commented_at'|trans({ email: comment.author.email, date: comment.createdAt|date }) }}
{% if comment.createdAt != comment.editedAt %}
(modifié le {{ comment.editedAt | date }})
{{ 'edited_at'|trans({ date: comment.editedAt|date }) }}
{% endif %}
</h5>
<p class="card-text">{{ comment.content }}</p>