@extends('superadmin.layouts.app') @section('content') @php $firstChar = substr($user->name,0,1); @endphp
Activity History list
@if($user->profilePic==null)
{{$firstChar}}
@else {{$user->name}} @endif
{{$user->name}}
Date

{{ \Carbon\Carbon::parse($activity->created_at)->format('d M \a\t h:i A') }}

IP Address

{{ $activity->ip_address }}

Action ID

{{ $activity->action_id }}

Action Type @if ($activity->for_what == 'user_shadow_banned' || $activity->for_what == 'user_unshadow_banned' || $activity->for_what == 'user_pramoted' || $activity->for_what == 'stop_user_pramoted' || $activity->for_what == 'stop_user_promote' || $activity->for_what == 'user_blocked' || $activity->for_what == 'user_block')

User

@elseif($activity->for_what == 'post_content_hide' || $activity->for_what == 'post_content_show' || $activity->for_what == 'post_pramoted' || $activity->for_what == 'stop_post_pramoted' || $activity->for_what == 'post_delete' || $activity->for_what == 'post_archived' || $activity->for_what == 'post_not_deleted' || $activity->for_what == 'stop_post_promote' || $activity->for_what == 'post_show' || $activity->for_what == 'post_hide')

Post

@elseif($activity->for_what == 'news_hide' || $activity->for_what == 'news_show')

News

@endif
Event

{{ $activity->log_text }}

@endsection