Commit 5ff765ca authored by Maxym Borodenko's avatar Maxym Borodenko

Term of the copywriter has expired.

parent e32d43a1
......@@ -16,6 +16,8 @@
package org.genesys2.spring;
import java.time.LocalDate;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
......@@ -105,6 +107,7 @@ public class AddStuffInterceptor implements HandlerInterceptor, InitializingBean
request.setAttribute("buildRevision", buildRevision);
request.setAttribute("cdnServers", randomCdnServer);
request.setAttribute("baseUrl", baseUrl);
request.setAttribute("currentYear", LocalDate.now().getYear());
if (googleAnalyticsAccount != null) {
request.setAttribute("googleAnalyticsAccount", googleAnalyticsAccount);
......
......@@ -44,7 +44,7 @@
</ul>
<div class="text-center" id="copyright">
<p>
<spring:message code="footer.copyright-statement" arguments="2017" htmlEscape="false" />
<spring:message code="footer.copyright-statement" arguments="${currentYear.toString()}" htmlEscape="false" />
</p>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment