Show note about disruptive versions on update notification
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 4da2177..934b4b5 100644 (file)
@@ -1022,6 +1022,7 @@ public class WebInterface {
                newVersionNotification.getTemplateContext().set("latestVersion", updateFoundEvent.version());
                newVersionNotification.getTemplateContext().set("latestEdition", updateFoundEvent.latestEdition());
                newVersionNotification.getTemplateContext().set("releaseTime", updateFoundEvent.releaseTime());
+               newVersionNotification.getTemplateContext().set("disruptive", updateFoundEvent.disruptive());
                notificationManager.addNotification(newVersionNotification);
        }