X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=0f46054897cda0e6ddde4ff77ab9fdbdbe6abade;hb=c26c8d115cd895ac1c187552ac46350a501c250a;hp=c1ea806941b735c1ef7610eb675491385a5af00d;hpb=9618a801b7c230265381f72b9be596a8808b3c2d;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index c1ea806..0f46054 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -8,7 +8,9 @@ @@ -16,7 +18,7 @@ /* these functions are necessary for updating Sone statuses. */ $(document).ready(function() { $("#sone .sone").each(function() { - watchSone($(this).find(".id").text()); + watchSone($(this).find(".id").text(), $(this).hasClass("local")); }); }); @@ -24,33 +26,109 @@ + + + + + + + +
- <%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> +