{{ trans('update.reply_to') }}
{{ $post->parent->user->full_name }}
{!! truncate($post->parent->description, 200) !!}
{!! !empty($post) ? $post->description : $topic->description !!}
{{-- Attachments --}}
@if(!empty($post) and !empty($post->attach))
@elseif(empty($post) and !empty($topic->attachments) and count($topic->attachments))
@foreach($topic->attachments as $attachment)
{{ truncate($attachment->getName(), 24) }}
@endforeach
@endif
{{ dateTimeFormat(!empty($post) ? $post->created_at : $topic->created_at,'j M Y | H:i') }}
@if(!empty($authUser) and !$topic->close)
{{-- Replay --}}
@if(!empty($post))
@endif
{{-- Pin & Unpin --}}
@if(!empty($post) and $authUser->id == $topic->creator_id)
@endif
{{-- Edit --}}
@if($authUser->id == $cardUser->id)
@if(!empty($post))
@else
@endif
@endif
{{-- Report --}}
@endif
@php
$isLiked = ((!empty($post) and in_array($post->id, $likedPostsIds)) or (empty($post) and $topic->liked));
@endphp
{{-- Likes --}}
{{ !empty($post) ? $post->likes->count() : $topic->likes->count() }}
{{ trans('update.likes') }}