schneespur/release/schneespur-1.0.2/resources/views/admin/dashboard/widgets/retention-hint.blade.php
Michael 7288b93500 Release v1.0.2: diagnostic infrastructure core
Add neutral diagnostic framework for future reporting modules:
- DiagnosticReporterInterface, Registry, Manager, PayloadSanitizer
- Laravel exception hook in bootstrap/app.php
- Module permission declarations (requires_permissions in module.json)
- Core diagnostic report points (module boot/install/update failures)
- Module documentation update (moduldoku.md)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-18 16:54:11 +00:00

21 lines
1.2 KiB
PHP

@php $retentionStats = $widget['data']['retentionStats']; @endphp
<div class="mt-6">
<div class="bg-amber-50 border-l-4 border-amber-500 rounded-lg p-4">
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-amber-400" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z" />
</svg>
</div>
<div class="ml-3">
<p class="text-sm text-amber-700">
{{ __('job.retention_hint', ['count' => $retentionStats->count]) }}
{{ __('job.retention_hint_oldest', ['date' => \Carbon\Carbon::parse($retentionStats->oldestDate)->format('d.m.Y')]) }}
</p>
<p class="mt-1">
<a href="{{ route('admin.settings.retention') }}" class="text-sm font-medium text-amber-700 underline hover:text-amber-600">{{ __('job.retention_hint_action') }} &rarr;</a>
</p>
</div>
</div>
</div>
</div>