@extends('web.default.panel.layouts.panel_layout') @push('styles_top') @endpush @section('content')

{{ trans('update.topics_statistics') }}

{{ $publishedTopics }} {{ trans('update.published_topics') }}
{{ $lockedTopics }} {{ trans('update.locked_topics') }}
{{ $topicMessages }} {{ trans('update.topic_messages') }}

{{ trans('update.filter_topics') }}

{{ trans('update.my_topics') }}

@if($topics->count() > 0)
@foreach($topics as $topic) @endforeach
{{ trans('public.title') }} {{ trans('update.forum') }} {{ trans('site.posts') }} {{ trans('public.status') }} {{ trans('public.publish_date') }}
{{ $topic->forum->title }} {{ $topic->posts_count }} @if($topic->close) {{ trans('panel.closed') }} @else {{ trans('public.published') }} @endif {{ dateTimeFormat($topic->created_at, 'j M Y H:i') }}
@else @include(getTemplate() . '.includes.no-result',[ 'file_name' => 'quiz.png', 'title' => trans('update.panel_topics_no_result'), 'hint' => nl2br(trans('update.panel_topics_no_result_hint')), 'btn' => ['url' => '/forums','text' => trans('update.forums')] ]) @endif
{{ $topics->appends(request()->input())->links('vendor.pagination.panel') }}
@endsection @push('scripts_bottom') @endpush