@extends("domains.common.layouts.layout") @section("header") @routes("board") @vite([ 'resources/js/domains/common/toastEditor.js', ]) @yield("header-child") @endsection @section("main-content")

{{ $viewName }} 게시글 관리 상세

  • 게시글 관리
  • @if ($post?->id) 상세 @else 등록 @endif

게시글 구분

게시글 번호
{{ $post?->id ?? "-" }}

전시 구분

전시 상태
activated)>
- is_activated_end_date_disabled)>
is_activated_end_date_disabled)>
activated === 0)>

서비스 구분
@foreach ($services as $key => $service)
service_id == $service->id)>
@endforeach

상단 고정
fixed === 0)>
fixed)>

비밀글
is_secret === 0)>
is_secret)>

설정 시 로그인된 작성자와 직원만 조회 가능 합니다.

@if ($post?->id)
등록일시{{ $post?->created_at }} 작성자{{ $post?->createdBy?->edm_id }} 조회수{{ $post?->views }}
@endif {{-- 게시판별 커스터마이징 START --}} @yield("custom-columns") {{-- 게시판별 커스터마이징 END --}} {{-- 게시글 제목, 컨텐츠 --}}
제목

내용 입력

파일 첨부
    @foreach ($post?->attachments ?? [] as $attachment)
  • {{ $attachment->name }} {{ $attachment->size / 1000 }}K
  • @endforeach
메타 태그 입력

Tab이나 Enter로 태그를 추가할 수 있습니다.

{{-- 댓글 --}} @if ($post?->id)

댓글 {{ count($post->comments->where("activated", 1)) }}

@foreach ($post->comments->whereNull("parent_comment_id")->all() as $comment) @php $childrenComments = $comment->getAllChildren($post->comments); @endphp
activated) style="margin-bottom: 0;" @endif> @if ($comment->activated) @endif
@if ($comment->activated)
{{ $comment->createdBy->edm_id }}

{{ $comment->created_at }}

@endif

activated ? "black" : "gray")])>{{ $comment->activated ? $comment->content : "삭제된 댓글입니다." }}

@if ($comment->activated) 답글 달기 @if (count($childrenComments->where("activated", 1))) 답글 {{ count($childrenComments->where("activated", 1)) }}개 보기 @endif @endif
@if ($comment->activated) @while ($tmpComment = $childrenComments->shift()) @php if (!$tmpComment->activated) $childrenComments = $childrenComments->where("parent_comment_id", "!=", $tmpComment->id); @endphp @endwhile @endif @endforeach
@endif
@endsection @push("script") @endpush