update admin of comments

This commit is contained in:
Simon Vieille 2021-04-01 16:27:55 +02:00
parent b8d64f307f
commit f7f4fa362d
1 changed files with 4 additions and 2 deletions

View File

@ -47,12 +47,14 @@
<li class="list-group-item">
<span class="font-weight-bold pb-2 d-block">Article</span>
{{ entity.post.title }}
<a href="{{ path('admin_blog_post_show', {entity: entity.post.id}) }}">
{{ entity.post.title }}
</a>
</li>
{% if entity.parentComment %}
<li class="list-group-item">
<span class="font-weight-bold pb-2 d-block">
Réponse à
Réponse à
<a href="{{ path('admin_blog_comment_show', {entity: entity.parentComment.id}) }}">
{{ entity.parentComment.author }} - {{ entity.parentComment.createdAt|date('d/m/Y H:i') }}
</a>