File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 68
68
{{ $user -> createdAt ()-> format (' j M Y H:i:s' ) } }
69
69
</x-tables .table-data >
70
70
71
- <x-tables .table-data class =" text-center w-10 " >
71
+ <x-tables .table-data class =" text-center w-32 " >
72
72
<a href =" {{ route (' profile' , $user -> username ()) } }" class =" text-lio-600 hover:text-lio-800" >
73
73
<x-heroicon-o-user-circle class =" w-5 h-5 inline" />
74
74
</a >
81
81
<x-modal identifier =" deleteUser{{ $user -> getKey () } }" :action =" route('admin.users.delete', $user->username())" title =" Delete {{ $user -> username () } }" >
82
82
<p >Deleting this user will remove their account and any related content like threads & replies. This cannot be undone.</p >
83
83
</x-modal >
84
+
85
+ <button title =" Delete {{ $user -> name () } } threads." @click =" activeModal = 'deleteUserThreads{{ $user -> getKey () } } '" class =" text-red-600 hover:text-red-800" >
86
+ <x-heroicon-o-chat-bubble-oval-left class =" w-5 h-5 inline" />
87
+ </button >
88
+
89
+ <x-modal identifier =" deleteUserThreads{{ $user -> getKey () } }" :action =" route('admin.users.threads.delete', $user->username())" title =" Delete {{ $user -> username () } } threads" >
90
+ <p >All the threads from this user will be deleted. This cannot be undone.</p >
91
+ </x-modal >
84
92
@endcan
85
93
</x-tables .table-data >
86
94
</tr >
You can’t perform that action at this time.
0 commit comments