Add all files
This commit is contained in:
13
themes/default/views/components/impersonating.blade.php
Normal file
13
themes/default/views/components/impersonating.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
@if(session()->has('impersonating'))
|
||||
<div class="fixed bottom-0 right-0 z-50 flex gap-2 justify-center items-center bg-background-secondary shadow-lg p-4 w-full border-t border-neutral">
|
||||
<p>
|
||||
{{ __('You are currently impersonating') }}:
|
||||
<strong>{{ auth()->user()->name }}</strong>
|
||||
</p>
|
||||
<a href="/admin/users/{{ auth()->user()->id }}/edit">
|
||||
<x-button.primary>
|
||||
{{ __('Leave') }}
|
||||
</x-button.primary>
|
||||
</a>
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user