Files
Atomcms-edit/resources/views/filament/components/commandocentrum/update-history.blade.php
T
root 2f30a058a4 feat: add full i18n support to Commandocentrum
- Replace all hardcoded Dutch/English strings with __() translation calls
- Update 13 Blade components to use translation keys
- Update Commandocentrum.php controller with translation calls
- Add comprehensive Dutch (nl.json) and English (en.json) translations
- 150+ translation keys for UI labels, messages, and notifications
- Supports all 21 languages available in the lang/ directory
2026-05-19 21:49:39 +02:00

24 lines
1.2 KiB
PHP
Executable File

@props(['history'])
@if (empty($history))
<div style="padding:20px;text-align:center;color:#64748b;">{{ __('commandocentrum.no_updates_found') }}</div>
@else
<div style="display:flex;flex-direction:column;gap:8px;">
@foreach ($history as $update)
@php
$statusColor = $update->status === 'success' ? '#22c55e' : ($update->status === 'pending' ? '#f59e0b' : '#ef4444');
@endphp
<div style="display:flex;align-items:center;justify-content:space-between;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 16px;">
<div>
<span style="font-weight:600;color:#1e293b;">{{ e($update->type) }}</span>
<span style="color:#64748b;margin-left:8px;">{{ e($update->message) }}</span>
</div>
<div style="display:flex;align-items:center;gap:8px;">
<span style="color:{{ $statusColor }};font-weight:600;">{{ e($update->status) }}</span>
<span style="color:#94a3b8;font-size:12px;">{{ e($update->created_at) }}</span>
</div>
</div>
@endforeach
</div>
@endif