<div id="reply-{{$comment->id}}" class="reply media reply-{{$comment->id}}">
    <div class="media-object pull-left">
           <a href="{{$comment->user->present()->url()}}" data-ajaxify="true"><img src="{{$comment->user->present()->getAvatar(50)}}"/></a>
    </div>
    <div class="media-body">
         <h5 class="media-heading">
             <a href="{{$comment->user->present()->url()}}" data-ajaxify="true">{{$comment->user->present()->fullName()}}</a>


             <span>{{$comment->user->present()->atName()}}</span></h5>
         @if ($comment->present()->canDelete())
            <a  data-type="{{$comment->type}}" data-type-id="{{$comment->type_id}}" data-warning="{{trans('comment.confirm-delete')}}" class="delete-button" data-id="{{$comment->id}}" href=""><i class="icon ion-close"></i></a>
         @endif

        {{$comment->present()->text()}}<br/>

         @if($image = $comment->present()->getImage())
            <a class="reply-image preview-image" href="{{Image::url($image, '600')}}"><img src="{{Image::url($image, 600)}}"/> </a>

         @endif
        <span class="post-time"><i class="icon ion-ios7-time-outline"></i> <span title="{{$comment->present()->time()}}">{{$comment->created_at}}</span></span>
        <i style="font-size: 15px;color: #828282" class="icon ion-thumbsup"></i>
        <span id="comment-like-count-{{$comment->id}}">
            <?php $countLikes = $comment->countLikes()?>
            @if($countLikes)
                {{$countLikes}}
            @endif
        </span>
        <?php $hasLike = $comment->hasLiked()?>

        <a data-target="#comment-like-count-{{$comment->id}}" data-is-login="{{Auth::check()}}" data-status="{{($hasLike) ? '1' : 0}}" class="like-button" data-like="{{trans('like.like')}}" data-unlike="{{trans('like.unlike')}}" data-id="{{$comment->id}}" data-type="comment" href=""> <span>{{($hasLike) ? trans('like.unlike') : trans('like.like')}}</span></a>
        <!--<a href="">Like</a>-->
    </div>
</div>