Display static changed banner instead of toast
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user