news edit

This commit is contained in:
HolgerHatGarKeineNode
2023-02-11 13:43:14 +01:00
parent 89bbf6ff1d
commit 4b63d822eb

View File

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