You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
575 B
33 lines
575 B
<?php |
|
|
|
/** |
|
* @var $this \yii\web\View |
|
* @var $comments \core\entities\post\PostComment[] |
|
*/ |
|
|
|
?> |
|
|
|
<div class="block-aside-item"> |
|
<!-- Heading Component--> |
|
<article class="heading-component"> |
|
<div class="heading-component-inner"> |
|
<h5 class="heading-component-title"> |
|
<?= Yii::t('post', 'Latest comments') ?> |
|
</h5> |
|
</div> |
|
</article> |
|
|
|
<!-- List Comments Classic--> |
|
<div class="list-comments-classic"> |
|
|
|
|
|
<?php foreach ( $comments as $comment ): ?> |
|
|
|
<?= $this->render( 'comments_item', [ |
|
'comment' => $comment, |
|
] ) ?> |
|
|
|
<?php endforeach; ?> |
|
|
|
</div> |
|
</div>
|