@extends('socialite::layouts.admin') @section('content')

{{ trans('socialite::common.manage_reports') }}

@include('flash::message') @if(count($post_reports) > 0) @foreach($post_reports as $post_report) @endforeach @else
{{ trans('socialite::messages.no_reports') }}
@endif
{{ trans('socialite::admin.reported_by') }} {{ trans('socialite::common.post') }} {{ trans('socialite::common.status') }}  
{{ $user->find($post_report->reporter_id)->name }}
{{ $user->find($post_report->reporter_id)->username }}
{{ trans('socialite::admin.show_post') }}
{{ trans('socialite::admin.id') }}: {{ $post_report->post_id }}
{{ $post_report->status }} {{ trans('socialite::admin.mark_safe') }} {{ trans('socialite::admin.delete_post') }}
@if(count($user_reports) > 0) @foreach($user_reports as $user_report) @endforeach @else
{{ trans('socialite::messages.no_reports') }}
@endif
{{ trans('socialite::admin.reported_by') }} {{ trans('socialite::common.user') }} {{ trans('socialite::common.status') }}  
{{ $user->find($user_report->reporter_id)->name }}
{{ $user->find($user_report->reporter_id)->username }}
{{ $timeline->find($user_report->timeline_id)->name }}
{{ $timeline->find($user_report->timeline_id)->username }}
{{ $user_report->status }} {{ trans('socialite::admin.mark_safe') }} {{ trans('socialite::admin.delete_user') }} {{-- {{ trans('socialite::admin.delete_user') }} --}}
@if(count($page_reports) > 0) @foreach($page_reports as $page_report) @endforeach @else
{{ trans('socialite::messages.no_reports') }}
@endif
{{ trans('socialite::admin.reported_by') }} {{ trans('socialite::admin.page') }} {{ trans('socialite::common.status') }}  
{{ $user->find($page_report->reporter_id)->name }}
{{ $user->find($page_report->reporter_id)->username }}
{{ $timeline->find($page_report->timeline_id)->name }}
{{ $timeline->find($page_report->timeline_id)->username }}
{{ $page_report->status }} {{ trans('socialite::admin.mark_safe') }} {{ trans('socialite::admin.delete_page') }}
@if(count($group_reports) > 0) @foreach($group_reports as $group_report) @endforeach @else
{{ trans('socialite::messages.no_reports') }}
@endif
{{ trans('socialite::admin.reported_by') }} {{ trans('socialite::common.group') }} {{ trans('socialite::common.status') }}  
{{ $user->find($group_report->reporter_id)->name }}
{{ $user->find($group_report->reporter_id)->username }}
{{ $timeline->find($group_report->timeline_id)->name }}
{{ $timeline->find($group_report->timeline_id)->username }}
{{ $group_report->status }} {{ trans('socialite::admin.mark_safe') }} {{ trans('socialite::admin.delete_group') }}
@endsection