@extends("admin/layout") @section("content") @if (session('successMessage') || session('errorMessage'))
Comment Reports
| Comment ID | Comment Text | Reporter Name | Violator Name | Report Reason | Report Date | Action Taken | ||
|---|---|---|---|---|---|---|---|---|
| {{ $report->comment_id }} | {{ $report->comment ? $report->comment->comment_text : 'Comment not available' }} | {{ $report->reporter->username }} | {{ $report->violator->username }} | {{ $report->report_reason }} | {{ date('d-m-Y', strtotime($report->report_date)) }} | @if ($report->action_taken == 'none') {{ $report->action_taken }} @elseif ($report->action_taken == 'removed') {{ $report->action_taken }} @elseif($report->action_taken == 'no violation') {{ $report->action_taken }} @else {{ $report->action_taken }} @endif |