first commit
This commit is contained in:
22
templates/frontend/comment/comments.html.twig
Normal file
22
templates/frontend/comment/comments.html.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% set commentsLength = comments|length %}
|
||||
<div class="blog-page">
|
||||
<div class="blog-review wow fadeInUp">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 class="title-review-comments">{{ commentsLength }} comments</h3>
|
||||
</div>
|
||||
{% for comment in comments %}
|
||||
<div class="col-md-12 col-sm-12">
|
||||
<div class="blog-comment inner-bottom-xs">
|
||||
<h4>{{ comment.getClient().getPseudo() }}</h4>
|
||||
<span class="review-action pull-right">
|
||||
{{ comment.getDateAdd()|date("d/m/Y H:i") }}
|
||||
</span>
|
||||
<p>{{ comment.getCommentaire() }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{#<div class="post-load-more col-md-12"><a class="btn btn-upper btn-primary" href="#">Afficher plus</a></div>#}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user