@extends('admin.layouts.app') @section('title', 'User Management') @section('content')
| Photo | Name | Role | Status | Created | Actions | |
|---|---|---|---|---|---|---|
|
@if($user->photo)
{{ strtoupper(substr($user->name, 0, 1)) }}
@endif
|
{{ $user->name }} @if($user->id == auth()->id()) You @endif | {{ $user->email }} | @if($user->role == 'super_admin') Super Admin @elseif($user->role == 'admin') Admin @elseif($user->role == 'editor') Editor @else Reporter @endif | @if($user->status == 'active') Active @else Inactive @endif | {{ $user->created_at->diffForHumans() }} | |
|
No users found |
||||||