X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2Fhead.html;h=9fb2525537a5e10863f1e49c9e974bee3071b7fa;hb=5ac2eeb4296b651f380e2d35ad35cf4bfc70c766;hp=80614097ee52662fe85c5faaabc2684fd7ef4eb9;hpb=f0ee21d46819b4e242e9876bde3cfa911ad3a910;p=Sone.git diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 8061409..9fb2525 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -18,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")); }); }); @@ -172,27 +172,11 @@ @@ -204,7 +188,21 @@ <%/if> -
+
+ <%foreach webInterface.notifications.all notification> +
+ <%if notification.dismissable> +
+ + + + +
+ <%/if> + <% notification> +
+ <%/foreach> +