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