Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

@@ -0,0 +1,19 @@
<div>
@php
$translation = $post->translations->first();
$isPublished = $translation ? ($translation->from <= now() && ($translation->till === null || $translation->till > now())) : false;
@endphp
@can('update posts')
@profile('admin')
<div class="text-xs lg:text-sm mb-6 text-theme-danger-dark flex items-center justify-end gap-2">
@if (!$isPublished)
<span>{{ __('This post is not published.') }}</span>
@endif
<a href="{{ route('posts.manage', ['search' => $post->id, 'postTypeFilter' => '']) }}" class="text-theme-danger-dark hover:text-theme-danger">
<x-icon name="pencil-square" class="w-5 h-5" />
</a>
</div>
@endprofile
@endcan
</div>