X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FAboutPage.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fweb%2FAboutPage.java;h=4b54a4b63f96e31f6f570b48478eef587000a36d;hp=74c6a039c5d4a5057b33ba98e2247ffc275960dc;hb=6916e15b5cf42461f7e49c787bf7d1f85c1de2ed;hpb=69bde20c9d91feada988690d3a5a59bc3e086fce diff --git a/src/main/java/net/pterodactylus/sone/web/AboutPage.java b/src/main/java/net/pterodactylus/sone/web/AboutPage.java index 74c6a03..4b54a4b 100644 --- a/src/main/java/net/pterodactylus/sone/web/AboutPage.java +++ b/src/main/java/net/pterodactylus/sone/web/AboutPage.java @@ -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); } }