]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6198 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Aug 2023 12:53:41 +0000 (14:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Aug 2023 12:53:41 +0000 (14:53 +0200)
resources/views/columns/owner.blade.php

index 6903d6809ab512cab9e3a6dff2ef1545beaf8c9d..c51c51585b7bd9ef0b3183ddcc72919f1720e636 100644 (file)
@@ -70,4 +70,8 @@
     </div>
     <a href="#" class="changeowner" data-entry-id="{{$entry->id}}"
        title="{{__('Modifier le propriĆ©taire')}}">{!! $v !!}</a>
+    @if(backpack_user()->isOwner($entry->owner))
+        <a href="{{backpack_url('users/'.$entry->owner.'/loginas')}}" class="la la-key"
+           title="{{__('Se connecter comme')}}"></a>
+    @endif
 </span>