@extends('layouts.admin') @section('title', 'Manage Users') @section('admin')
| User | Role | Playlists | Registered | Actions | |
|---|---|---|---|---|---|
|
{{ strtoupper(substr($user->name, 0, 1)) }}
{{ $user->name }}
@if($user->id === auth()->id())
(you)
@endif
|
{{ $user->email }} | @if($user->is_admin) Admin @else User @endif | {{ $user->playlists_count ?? $user->playlists()->count() }} | {{ $user->created_at->format('M d, Y') }} |
{{-- Edit Button --}}
{{-- Reset Password Button --}}
@if($user->id !== auth()->id())
{{-- Toggle Admin --}}
{{-- Delete User --}}
@endif
|
|
No users found. |
|||||