@if($notices)
    @foreach($notices->list as $row)
    <tr>
        <td>
            <img src="/images/icon/notice.gif" alt="공지사항"/>
        </td>
        <td class="text-start" @if($boardMeta->use_personal) colspan="2" @endif>
            @if($boardMeta->use_category && $row->categoryName)
                <label>
                    <a href="{{ $listURL }}?category={{ $row->board_category_id }}" rel="search">
                        [{{ $row->categoryName }}]
                    </a>
                </label>
            @endif
            @if($row->is_secret)
                <i class="fas fa-lock"></i>
            @endif
            <a href="{{ $row->viewURL }}" hreflang="ko" referrerpolicy="origin" type="text/html" target="_self">{{ $row->subject }}</a>
            @if($row->comment_rows > 0)
                <var>[{{ $row->comment_rows }}]</var>
            @endif
            @if($row->file_rows > 0)
                <i class="fas fa-save"></i>
            @endif
            @if($row->link_rows > 0)
                <i class="fas fa-external-link-alt"></i>
            @endif
            @if($row->image_rows > 0)
                <i class="fas fa-image"></i>
            @endif
            @if($row->isNew)
                <span class="badge bg-warning text-dark">New</span>
            @endif
            @if($row->isHot)
                <span class="badge bg-danger">Hot</span>
            @endif
        </td>
        <td>{{ $row->user->name }}</td>
        <td>{{ $row->createdAt }}</td>
        <td>{{ $row->hit }}</td>
        <td>{{ $row->like }}</td>
    </tr>
    @endforeach
@endif
