| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- <table class="table">
- <caption>
- {{-- 분류/정렬/목록 수 --}}
- @include('mobile.board.component.tab')
- </caption>
- <tbody>
- {{-- 공지사항 --}}
- @include('mobile.board.component.notice')
- {{-- 1:1 문의 --}}
- @if($posts->total > 0)
- @foreach($posts->list as $row)
- <tr>
- <td>
- <div class="row">
- <div class="col col-md-10">
- <p>
- @if($boardMeta->use_category && $row->categoryName)
- <label>
- <a href="{{ $listURL }}?category={{ $row->board_category_id }}" class="me-0" rel="search">
- [{{ $row->categoryName }}]
- </a>
- </label>
- @endif
- @if($row->is_secret)
- <a href="{{ $row->viewURL }}" hreflang="ko" referrerpolicy="origin" type="text/html">
- <i class="fas fa-lock"></i> 비밀글입니다.
- </a>
- @elseif($row->isBlame)
- <i class="fas fa-ban"></i> <del>{{ $row->subject }}</del>
- @else
- <a href="{{ $row->viewURL }}" hreflang="ko" referrerpolicy="origin" type="text/html">{{ $row->subject }}</a>
- @endif
- @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
- </p>
- <ul>
- <li>{{ $row->user->name }}</li>
- <li>{{ $row->createdAt }}</li>
- <li>조회 {{ $row->hit }}</li>
- <li>추천 {{ $row->like }}</li>
- </ul>
- </div>
- <div class="col-3 col-md-2 align-self-center text-end">
- @if($row->is_reply)
- <div class="badge bg-success p-2">답변완료</div>
- @else
- <div class="badge bg-secondary p-2">접수완료</div>
- @endif
- </div>
- </div>
- </td>
- </tr>
- @endforeach
- @else
- <tr>
- <td class="p-5 text-center">
- 1:1 문의글이 존재하지 않습니다.
- </td>
- </tr>
- @endif
- </tbody>
- </table>
- @if($posts->total > 0)
- <div class="pagination">
- {{ $posts->list->onEachSide($params->pageCount)->links('mobile.board.component.pagination') }}
- </div>
- @endif
|