news edit

This commit is contained in:
HolgerHatGarKeineNode
2023-02-11 13:43:40 +01:00
parent 4b63d822eb
commit 400b7b8102

View File

@@ -66,7 +66,7 @@
</div> </div>
<div class="flex space-x-1 text-sm text-gray-500 justify-end"> <div class="flex space-x-1 text-sm text-gray-500 justify-end">
@if($libraryItem->created_by == auth()->id() || auth()->user()->hasRole('news-editor')) @if($libraryItem->created_by == auth()->id() || auth()->user()->hasRole('news-editor'))
<x-button :href="route('news.form', ['libraryItem' => $libraryItem])"> <x-button xs :href="route('news.form', ['libraryItem' => $libraryItem])">
<i class="fa fa-thin fa-edit"></i> <i class="fa fa-thin fa-edit"></i>
{{ __('Edit') }} {{ __('Edit') }}
</x-button> </x-button>