You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/vendor/starter-kit/component/comment.blade.php

29 lines
869 B
PHTML

2 years ago
<li>
<div class="row">
<div class="col-md-3 text-center">
<img class="img-avatar" src="https://www.gravatar.com/avatar/{{md5($c->email)}}?s=64" alt="avatar" />
{{$c->name}}
<br>
{{$c->persianDate()}}
<br>
<span class="btn-sm btn-secondary comment-reply" data-id="{{$c->id}}" title="{{__("reply")}}">
<i class="fa fa-reply"></i>
</span>
</div>
<div class="col-md-9">
<p>
2 years ago
{{$c->body}}
</p>
2 years ago
</div>
</div>
@if ($c->approved_children()->count()>0)
<ul>
2 years ago
@foreach($c->approved_children as $cch)
<li>
@include('starter-kit::component.comment', ['c' => $cch])
</li>
@endforeach
</ul>
@endif
</li>