Display static changed banner instead of toast

This commit is contained in:
Claudio Ortolina
2026-02-28 10:30:44 +00:00
parent be66aaeb87
commit 2f57ce2e67
4 changed files with 30 additions and 18 deletions
@@ -1,3 +1,12 @@
<div
:if={assigns[:static_changed]}
class="bg-yellow-100 dark:bg-yellow-900 border-b border-yellow-300 dark:border-yellow-700 px-4 py-2 text-center text-sm text-yellow-700 dark:text-yellow-200"
>
{gettext("The application has been updated.")}
<a href="" onclick="window.location.reload()" class="underline font-medium">
{gettext("Reload")}
</a>
</div>
<nav class="border-b border-slate-900/10 dark:border-slate-300/10" aria-label="Sections">
<div class="mx-auto max-w-screen-2xl px-4 sm:px-6 lg:px-8 2xl:px-0">
<div class="flex h-16 justify-between">