@version(2)

@if ($oDocument->isNotice()){{ $lang->notice ?? '공지' }}@endif @if (($module_info->use_category ?? 'N') === 'Y' && $oDocument->get('category_srl') && isset($category_list[$oDocument->get('category_srl')])) {{ $category_list[$oDocument->get('category_srl')]->title }} @endif @if ($oDocument->isSecret())@endif {{ $oDocument->getTitleText() }}

@php $hrb_photo_on = ($module_info->hr_show_photo ?? 'Y') === 'Y'; $hrb_sign_on = ($module_info->hr_show_sign ?? 'Y') === 'Y'; $hrb_author_photo = $hrb_photo_on ? $oDocument->getProfileImage() : ''; @endphp
@if ($hrb_author_photo)@endif @if ($oDocument->get('member_srl') > 0) {{ $oDocument->getNickName() }} @else {{ $oDocument->getNickName() }} @endif {{ $oDocument->getRegdate('Y.m.d H:i') }} {{ $lang->readed_count ?? '조회' }} {{ number_format($oDocument->get('readed_count')) }} @if ($oDocument->get('voted_count')){{ $lang->voted_count ?? '추천' }} {{ number_format($oDocument->get('voted_count')) }}@endif @if ($is_logged) @endif
@if (!$oDocument->isAccessible())

{{ $lang->msg_is_secret }} {{ $lang->msg_input_password }}

@else
{!! $oDocument->getContent(false) !!}
@php $hrb_sign = $hrb_sign_on ? $oDocument->getSignature() : ''; @endphp @if ($hrb_sign)
@if ($hrb_author_photo)@endif
{{ $oDocument->getNickName() }}
{!! $hrb_sign !!}
@endif @if ($oDocument->isExtraVarsExists())
@foreach ($oDocument->getExtraVars() as $hrb_ev) @if ($hrb_ev->hasValue())
{{ $hrb_ev->name }}
{!! $hrb_ev->getValueHTML() !!}
@endif @endforeach
@endif @if ($oDocument->hasUploadedFiles() && ($module_info->hr_show_files ?? 'Y') === 'Y')
{{ $lang->uploaded_file ?? '첨부' }} {{ $oDocument->get('uploaded_count') }}
@endif @if ($oDocument->get('tag_list'))
@foreach ($oDocument->get('tag_list') as $hrb_tag) #{{ $hrb_tag }} @endforeach
@endif @php $hrb_vote_up_on = ($module_info->hr_use_vote_up ?? 'Y') === 'Y' && ($board_features->document->vote_up ?? false); $hrb_vote_down_on = ($module_info->hr_use_vote_down ?? 'N') === 'Y' && ($board_features->document->vote_down ?? false); @endphp @if ($hrb_vote_up_on || $hrb_vote_down_on)
@if ($hrb_vote_up_on) @php $hrb_voted_up = $oDocument->getMyVote() !== false && $oDocument->getMyVote() > 0; @endphp @endif @if ($hrb_vote_down_on) @php $hrb_voted_down = $oDocument->getMyVote() !== false && $oDocument->getMyVote() < 0; @endphp @endif
@endif @endif
{{ $lang->cmd_list ?? '목록' }} @if ($oDocument->isEditable()) {{ $lang->cmd_modify ?? '수정' }} @endif @if ($oDocument->isGranted()) {{ $lang->cmd_delete ?? '삭제' }} @endif @if ($grant->write_document) {{ $lang->cmd_write ?? '글쓰기' }} @endif