Add LDAP authentication and enabling Spring logging
[proteocache.git] / webapp / view / support / Blocked.jsp
index f08f915..405c921 100644 (file)
 <jsp:include page="../fragments/header.jsp" />
 <body>
        <div class="container">
-               <jsp:include page="../fragments/mainmenu.jsp" />
+               <c:choose>
+                       <c:when test="${permissions == 'user_role'}">
+                               <jsp:include page="../fragments/mainmenu.jsp" />
+                       </c:when>
+                       <c:otherwise>
+                               <jsp:include page="../fragments/publicmenu.jsp" />
+                       </c:otherwise>
+               </c:choose>
 
                <div class="panel panel-default">
                        <div class="panel-heading">