src/main/webapp/WEB-INF/jsp/site.jsp

changeset 335
1eed60b779da
parent 333
124f605ec40a
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Sat Nov 09 10:54:57 2024 +0100
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Sat Nov 09 11:47:20 2024 +0100
@@ -57,6 +57,9 @@
 <%-- Define an alias for the optional JS file --%>
 <c:set scope="page" var="javascriptFile" value="${requestScope[Constants.REQ_ATTR_JAVASCRIPT]}"/>
 
+<%-- Define an alias for timezone --%>
+<c:set scope="page" var="timezone" value="${sessionScope[Constants.SESSION_ATTR_TIMEZONE]}" />
+
 <%-- Load resource bundle --%>
 <fmt:setLocale scope="request" value="${pageContext.response.locale}"/>
 <fmt:setBundle scope="request" basename="localization.strings"/>
@@ -108,9 +111,9 @@
                 </a>
             </div>
             <div class="menuEntry"
-                 <c:if test="${fn:startsWith(requestPath, '/language/')}">data-active</c:if> >
-                <a href="language/">
-                    <fmt:message key="menu.languages"/>
+                 <c:if test="${fn:startsWith(requestPath, '/settings/')}">data-active</c:if> >
+                <a href="settings/">
+                    <fmt:message key="menu.settings"/>
                 </a>
             </div>
             <div class="menuEntry"

mercurial