@extends('admin.layouts.home') @section('title', 'Group Details') @section('styles') @endsection @section('content')
No Cover Image
{{ $group->description }}
Category: @if($group->category) @if($group->category->icon) @endif {{ $group->category->name }} @else Uncategorized @endif
Created: {{ $group->created_at->format('M d, Y') }}
Total Members: {{ $memberCount }}
Total Posts: {{ $postCount }}
Reports: @if($reportCount > 0) {{ $reportCount }} reports @else No reports @endif
| User | Role | Joined | Status |
|---|---|---|---|
|
@if($member->user->profile_photo)
{{ strtoupper(substr($member->user->name, 0, 1)) }}
@endif
{{ $member->user->name }}
{{ $member->user->email }}
|
{{ ucfirst($member->role) }} | {{ $member->created_at->format('M d, Y') }} | {{ ucfirst($member->status) }} |
| ID | Content | Author | Posted | Status | Actions |
|---|---|---|---|---|---|
| {{ $post->id }} |
{{ Str::limit($post->content, 100) }}
@if($post->media)
Has media attachment
@endif
@if($post->is_pinned)
Pinned
@endif
|
{{ $post->user->name ?? 'Unknown User' }} | {{ $post->created_at->format('M d, Y H:i') }} | {{ ucfirst($post->status) }} | @if($post->status === 'pending') @endif |
| ID | Reported By | Reason | Details | Date | Status | Actions |
|---|---|---|---|---|---|---|
| {{ $report->id }} | {{ $report->user->name ?? 'Unknown User' }} | {{ $report->reason }} | {{ Str::limit($report->details, 100) }} | {{ $report->created_at->format('M d, Y') }} | {{ ucfirst($report->status) }} | @if($report->status === 'pending') @endif |