Integration Baniere dans le backend

This commit is contained in:
mrKamoo
2026-10-02 12:45:11 +02:00
parent 1b91590cca
commit 429dd9de5e
20 changed files with 1170 additions and 84 deletions
@@ -20,6 +20,14 @@
<a href="{{ route('admin.templates.edit', $template) }}">{{ $template->name }}</a>
@else — aucun (pas de template par défaut publié) — @endif
</td></tr>
<tr><th>Bannière</th><td>
@if ($campaign)
<a href="{{ route('admin.campaigns.edit', $campaign) }}">{{ $campaign->name }}</a>
@if ($template && ! str_contains((string) $template->html_full, 'banniere'))
<span class="badge warn">non affichée : le template n'a pas de bannière</span>
@endif
@else — aucune campagne en cours pour cet agent — @endif
</td></tr>
<tr><th>Synchronisé le</th><td class="muted">{{ $agent->synced_at?->timezone('Europe/Paris')->format('d/m/Y H:i') }}</td></tr>
</table>
</div>