Merge branch 'release-0.4.3'
[Sone.git] / src / main / java / net / pterodactylus / sone / web / WebInterface.java
index 67a3952..9023ccf 100644 (file)
@@ -766,7 +766,8 @@ public class WebInterface implements CoreListener {
         */
        @Override
        public void updateFound(Version version, long releaseTime, long latestEdition) {
-               newVersionNotification.getTemplateContext().set("version", version);
+               newVersionNotification.getTemplateContext().set("latestVersion", version);
+               newVersionNotification.getTemplateContext().set("latestEdition", latestEdition);
                newVersionNotification.getTemplateContext().set("releaseTime", releaseTime);
                notificationManager.addNotification(newVersionNotification);
        }