@extends('backEnd.master') @section('title') @lang('common.news') @endsection @push('css') @endpush @section('mainContent') @lang('common.news_details') @lang('common.dashboard') @lang('common.news') @lang('common.news_details') @lang('common.category') {{ @$news->newsCategory->title }} @lang('common.title') {{ @$news->title }} @lang('common.tags') @foreach ($news->tags as $tag) {{$tag->title}} @endforeach {!! $news->description !!} @lang('common.comments') @foreach ($news->newsComments as $comment) @if ($comment->user->role_id == 2) @elseif($comment->user->role_id == 3) @else @endif {{ @$comment->user->full_name }} {{ dateconvert($comment->created_at) }} {{ $comment->comment }} reply @csrf {{ __('common.write_your_reply') }} {{ __('common.submit') }} @foreach ($comment->replies as $reply) @if ($reply->user->role_id == 2) @elseif($reply->user->role_id == 3) @else @endif {{ @$reply->user->full_name }} {{ dateconvert($reply->created_at) }} {{ $reply->reply }} @endforeach @endforeach @csrf {{ __('common.leave_a_comment') }} {{ __('common.comment') }} @endsection @include('backEnd.partials.data_table_js')
{!! $news->description !!}
{{ $comment->comment }}
{{ $reply->reply }}
{{ @$reply->user->full_name }}
{{ $reply->reply }}