Skip to content

Commit 4526f6f

Browse files
author
Igor Chepurnoy
authored
Update index.php
1 parent 69b4a36 commit 4526f6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

widgets/views/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<div class="comments row">
1919
<div class="col-md-12 col-sm-12">
2020
<div class="title-block clearfix">
21-
<h3 class="h3-body-title"><?php echo Yii::t('yii2mod.comments', 'Comments'); ?></h3>
21+
<h3 class="h3-body-title"><?php echo Yii::t('yii2mod.comments', "Comments ({0})", $commentModel->getCommentsCount()); ?></h3>
2222
<div class="title-separator"></div>
2323
</div>
2424
<ol class="comments-list">
@@ -34,4 +34,3 @@
3434
</div>
3535
</div>
3636
<?php Pjax::end(); ?>
37-

0 commit comments

Comments
 (0)