@extends('admin.layout') @section('title', '审核队列') @section('page-title', '审核队列') @section('actions') @if ($canArticles) 文章投稿 @endif @if ($canForum) 论坛帖子 回复 @endif @endsection @section('content') @if ($tab === 'articles' && $articles) @if ($articles->isEmpty())

暂无待审文章。

@else @foreach ($articles as $a) @endforeach
标题投稿人分类摘要操作
{{ $a->title }} {{ $a->user?->name ?? '管理员' }} {{ $a->category?->name ?: '-' }} {{ Str::limit(strip_tags($a->summary ?: $a->body), 40) }}
@csrf
@csrf
{{ $articles->links('pagination::bootstrap-5') }} @endif @elseif ($tab === 'threads' && $threads) @if ($threads->isEmpty())

暂无待审帖子。

@else @foreach ($threads as $t) @endforeach
标题作者板块内容操作
{{ $t->title }} {{ $t->user?->name ?? '-' }} {{ $t->board?->name ?: '-' }} {{ Str::limit(strip_tags($t->body), 40) }}
@csrf
@csrf
{{ $threads->links('pagination::bootstrap-5') }} @endif @elseif ($tab === 'replies' && $replies) @if ($replies->isEmpty())

暂无待审回复。

@else @foreach ($replies as $r) @endforeach
回复内容作者所属帖子操作
{{ Str::limit(strip_tags($r->body), 60) }} {{ $r->user?->name ?? '-' }} {{ $r->thread?->title ?: '-' }}
@csrf
@csrf
{{ $replies->links('pagination::bootstrap-5') }} @endif @else

暂无待审内容。

@endif @endsection