Show note about disruptive versions on update notification
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 98cc99d..934b4b5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - WebInterface.java - Copyright © 2010–2013 David Roden
+ * Sone - WebInterface.java - Copyright © 2010–2015 David Roden
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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);
        }