From f96025c558a7cb475c083c531b994542da4c237e Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 22 Feb 2019 12:14:12 -0700 Subject: [PATCH] Add setting reports view --- resources/views/settings/reports.blade.php | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 resources/views/settings/reports.blade.php diff --git a/resources/views/settings/reports.blade.php b/resources/views/settings/reports.blade.php new file mode 100644 index 00000000..c64d7c8f --- /dev/null +++ b/resources/views/settings/reports.blade.php @@ -0,0 +1,38 @@ +@extends('settings.template') + +@section('section') + +
+

Reports

+
+
+

A list of reports you have made.

+ + + + + + + + + + + @foreach($reports as $report) + + + + + @if(!$report->admin_seen) + + @else + + @endif + + + @endforeach + +
IDTypeReportedStatusCreated
{{$report->id}}{{$report->type}}{{str_limit($report->reported()->url(), 30)}}UnresolvedResolved{{$report->created_at->diffForHumans(null, true, true)}}
+
+ {{$reports->links()}} +
+@endsection \ No newline at end of file