Update years in copyright line
[Sone.git] / src / main / java / net / pterodactylus / sone / web / AboutPage.java
index 74c6a03..581df3e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - AboutPage.java - Copyright © 2010–2013 David Roden
+ * Sone - AboutPage.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
@@ -31,11 +31,13 @@ public class AboutPage extends SoneTemplatePage {
 
        private final Version version;
        private final int year;
+       private final String homepage;
 
-       public AboutPage(Template template, WebInterface webInterface, Version version, int year) {
+       public AboutPage(Template template, WebInterface webInterface, Version version, int year, String homepage) {
                super("about.html", template, "Page.About.Title", webInterface, false);
                this.version = version;
                this.year = year;
+               this.homepage = homepage;
        }
 
        @Override
@@ -43,6 +45,7 @@ public class AboutPage extends SoneTemplatePage {
                super.processTemplate(request, templateContext);
                templateContext.set("version", version);
                templateContext.set("year", year);
+               templateContext.set("homepage", homepage);
        }
 
 }