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

Term of the copywriter has expired.

parent e32d43a1
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
package org.genesys2.spring; package org.genesys2.spring;
import java.time.LocalDate;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
...@@ -105,6 +107,7 @@ public class AddStuffInterceptor implements HandlerInterceptor, InitializingBean ...@@ -105,6 +107,7 @@ public class AddStuffInterceptor implements HandlerInterceptor, InitializingBean
request.setAttribute("buildRevision", buildRevision); request.setAttribute("buildRevision", buildRevision);
request.setAttribute("cdnServers", randomCdnServer); request.setAttribute("cdnServers", randomCdnServer);
request.setAttribute("baseUrl", baseUrl); request.setAttribute("baseUrl", baseUrl);
request.setAttribute("currentYear", LocalDate.now().getYear());
if (googleAnalyticsAccount != null) { if (googleAnalyticsAccount != null) {
request.setAttribute("googleAnalyticsAccount", googleAnalyticsAccount); request.setAttribute("googleAnalyticsAccount", googleAnalyticsAccount);
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</ul> </ul>
<div class="text-center" id="copyright"> <div class="text-center" id="copyright">
<p> <p>
<spring:message code="footer.copyright-statement" arguments="2017" htmlEscape="false" /> <spring:message code="footer.copyright-statement" arguments="${currentYear.toString()}" htmlEscape="false" />
</p> </p>
</div> </div>
</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