X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=0f46054897cda0e6ddde4ff77ab9fdbdbe6abade;hb=c26c8d115cd895ac1c187552ac46350a501c250a;hp=1b8974797fe688014958c985fe5f403584769366;hpb=8f17578011b4a87bafed326bd039a0786713e193;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 1b89747..0f46054 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -128,7 +128,7 @@ @@ -175,20 +191,29 @@ /* process all existing notifications, ajaxify dismiss buttons. */ $(document).ready(function() { $("#sone #notification-area .notification").each(function() { - ajaxifyNotificationArea($(this)); + ajaxifyNotification($(this)); }); }); -
+ - <%if !webInterface.core.identityManager.connected> -
- <%= Warning.PluginNotConnected.Text|l10n|html|replace needle="{link}" replacement=""|replace needle="{/link}" replacement=""> -
- <%/if> +
+ + + <%foreach webInterface.notifications.all notification>
<%if notification.dismissable>