Remove notification manager accessor, and displayed notifications from the template...
[Sone.git] / src / main / resources / templates / include / head.html
index ef3b34b..d76a63f 100644 (file)
@@ -18,7 +18,7 @@
                                <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
                        </form>
 
-                       <%foreach webInterface.notifications.all notification>
+                       <%foreach notifications notification>
                                <div class="notification" id="<% notification.id|html>" lastUpdatedTime="<%notification.lastUpdatedTime|html>">
                                        <%if notification.dismissable>
                                                <form class="dismiss" action="dismissNotification.html" method="post">