X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=1d8e284b271bd40eb2518395dcaecb26fb5cff71;hb=08d65c1c50d98fc4973aa9c1c9efa5ccd230ddef;hp=5f0d567f12dd49f367a75cb30be0ecd1c21fe4a2;hpb=2c5b76a2fbce16ef33f079a3de9ae9fc9a9d30b8;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 5f0d567..1d8e284 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -5,134 +5,40 @@ - - - - - - - - - - - -
- <%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> +
-   + + <%ifnull !currentSone> + Profile Avatar + <%else> + Sone is offline + <%/if> + <%ifnull ! currentSone>
<% currentSone|store key=sone>