@extends('layouts.app') @section('title', $board->name . ' | Forum') @section('content')
Forums / {{ $board->category->name }} / {{ $board->name }}

{{ $board->name }} {{-- Show access indicators --}} @if(!$board->is_public) 🔒 @endif @if(!$board->category->is_public) 📁🔒 @endif

{{ $board->description }}

{{-- Show access requirements for transparency --}} @if(!$board->is_public || !$board->category->is_public)

🔐 Access Information

This is a restricted area. @auth You have been granted access based on your roles and permissions. @else Please log in to participate. @endauth

@endif
@auth {{-- Only show create thread button if user can actually post --}} @if($board->canAccess()) Create New Thread @else Create New Thread @endif @else Login to Post @endauth
Title
Replies
Views
Latest Activity
@forelse($threads as $thread)

@if($thread->is_pinned) @endif @if($thread->is_locked) @endif {{ $thread->title }}

Started by {{ $thread->user->name }} • {{ $thread->created_at->diffForHumans() }}
{{ $thread->posts_count }}
{{ $thread->view_count }}
@if($lastPost = $thread->lastPost())
{{ $lastPost->created_at->diffForHumans() }}
@else
{{ $thread->created_at->diffForHumans() }}
@endif
@empty

No threads yet

@auth Be the first to start a discussion! @else Login to start the conversation. @endauth
@endforelse
{{ $threads->links() }}
{{-- Additional info for restricted boards --}} @if(!$board->is_public || !$board->category->is_public) @endif
@endsection