{{-- resources/views/groups/show.blade.php --}} @extends('layouts.app') @section('css') @endsection @section('js') @endsection @push('pageTitle') {{ __('labels.groups') }} @endpush @section('content') @include('components.common.page-header', [ 'pageTitle' => __('labels.groups'), 'actionButton' => [ 'url' => route('groups.index'), 'text' => __('labels.back_to_list'), ], ]) {{-- News Header --}} @include('components.common.flush-message')
{{--

{{ $group->title }}

--}}

{{ $group->name }}

{{-- Quick Actions --}}
@can('update', $group) @endcan @if($group->deleted_at) @can('forceDelete', $group) @endcan @else @can('delete', $group) @endcan @endif
{{-- METADATA CARDS --}} {{--
{{ __('labels.status') }}
{{ $group->is_published ? __('labels.published') : __('labels.draft') }}
--}}
@if ($group->description)
{{ __('labels.description') }}
{!! nl2br(e($group->description)) !!}
@endif @include('pages.groups.templates.view-selected-users', [ 'users' => $group->members ?? null, 'roles' => $roles ?? null, ]) @include('pages.groups.templates.posts', [ 'posts' => $posts ?? null, 'group' => $group ?? null, 'categories' => $categories ?? null, ]) {{-- @if ($group->audience === 'group' && $group->groups->count() > 0) @include('components.form.view-selected-groups',[ 'groups' => $group->groups ]) @endif --}} {{-- Additional Metadata --}} @include('components.meta.stats',[ 'created_at' => $group->created_at ?? null, 'updated_at' => $group->updated_at ?? null, 'published_at' => $group->published_at ?? null, 'is_published' => $group->is_published ?? null, 'creater' => $group->author_name ?? null, ]) @endsection