X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=1d8e284b271bd40eb2518395dcaecb26fb5cff71;hb=1c8961bd6350e6be218bfc59e3cf9ebce2e7399f;hp=e6038d7a6adb86a4c7b2b9b0ce0941f2ce0abe16;hpb=fa7f3a80a777bf743bcc5d7b95bfd811a417651f;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index e6038d7..1d8e284 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -5,141 +5,31 @@ - - - - - - - - - - - - - -
- <%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> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +