@extends('layout.client') @section('template_title') {{ __($article->title) }} @endsection @section('content')

Thông tin truyện

{{ $article->title }}

{{ $article->title }}

 Tác giả:

@foreach ($article->authors as $author) , @endforeach
@php $user = $article->user; @endphp

 Người đăng:

{!! $user->renderUserName() !!}

 Thể loại:

@foreach($article->genres as $genre) {{ $genre->name }}, @endforeach

 Lượt xem:

{{ $article->view }}

 Tình trạng:

@if ($article->is_completed) Hoàn thành @else Đang tiến hành @endif
{{ $article->description }}
@if(!$chapters->isEmpty())   Đọc từ đầu @endif @if($isUserLoggedIn) @php $bookmarkForCurrentUser = $article->getBookmarkForCurrentUser(); @endphp @if(empty($bookmarkForCurrentUser))   Dấu trang @else   Đã thêm dấu trang @endif @endif @if($isUserLoggedIn && ($currentUser->is_admin || $currentUser->id === $user->id))   Sửa bài viết   Chương mới @endif
@if($message = session('bookmark_success')) @endif @if(!$chapters->isEmpty())

Chương mới nhất

@endif

Danh sách chương

@if(!$chapters->isEmpty()) @foreach(array_chunk($chapters->items(), 25) as $chunk)
@endforeach @else

Hiện truyện chưa có chương nào, bạn vui lòng đợi nhé ^^

@endif
@include('client.partials.comment')
@include('client.partials.right-sidebar')
@endsection @section('article-scripts') @endsection