@extends('layouts.app') @section('htmlheader_title') Users @endsection @section('content')
This system is aware of the following users @can('admin',(new \App\Models\User))(you can add more)@endcan:
ID | Name | Active | Verified | Last On | |
---|---|---|---|---|---|
{{ $oo->id }} @if(Auth::user()->admin && (Auth::id() !== $oo->id))@endif | {{ $oo->email }} | {{ $oo->name }} | {{ $oo->active ? 'YES' : 'NO' }} | {{ $oo->email_verified_at ? $oo->email_verified_at->format('Y-m-d') : '-' }} | {{ $oo->last_on ? $oo->last_on->toDateTimeString() : 'Unknown' }} |