@extends('layouts.nova') @php use Carbon\Carbon; use Illuminate\Support\Str; @endphp @section('content')

Forum

Browse forum sections and latest activity.

Forum Sections
@forelse (($topics ?? []) as $topic) @php $topicId = (int) ($topic->topic_id ?? $topic->id ?? 0); $topicTitle = $topic->topic ?? $topic->title ?? $topic->name ?? 'Untitled'; $topicSlug = Str::slug($topicTitle); $topicUrl = $topicId > 0 ? route('legacy.forum.topic', ['topic_id' => $topicId, 'slug' => $topicSlug]) : '#'; @endphp @empty @endforelse
Section Posts Topics Last Update
{{ $topicTitle }} @if (!empty($topic->discuss))
{!! Str::limit(strip_tags((string) $topic->discuss), 180) !!}
@endif
{{ $topic->num_posts ?? 0 }} {{ $topic->num_subtopics ?? 0 }} @if (!empty($topic->last_update)) {{ Carbon::parse($topic->last_update)->format('d.m.Y H:i') }} @else - @endif
No forum sections available.
@endsection