mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
news edit
This commit is contained in:
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user