Affiche le nom d'utilisateur pour chaque commentaire
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<?php foreach ($params['comments'] as $comment) : ?>
|
||||
<article class="message">
|
||||
<header class="message-header">
|
||||
From <?= $comment->getAuthorId() ?> published on <?= $comment->getPublicationDate()->format('Y-m-d H:i:s') ?>
|
||||
From <?= $comment->getAuthorLogin() ?> published on <?= $comment->getPublicationDate()->format('Y-m-d H:i:s') ?>
|
||||
</header>
|
||||
<div class="message-body">
|
||||
<?= $comment->getContent() ?>
|
||||
|
Reference in New Issue
Block a user