update path to some dynamic pages
[proteocache.git] / webapp / view / reports / SequencesStatistics.jsp
index 894d113..175f5f4 100644 (file)
@@ -5,6 +5,7 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
 
 <html>
 <jsp:include page="../fragments/header.jsp" />
@@ -12,7 +13,7 @@
 <body>
        <div class="container">
                <jsp:include page="../fragments/mainmenu.jsp" />
-               <spring:url value="/sequence/sequence/results" var="sequence_query" />
+               <spring:url value="/sequence/results" var="sequence_query" />
                <spring:url value="/sequence/counts/results?counterJob=${counter}" var="the_query" />
                <c:set var="shortensequencelength" value="108"/>
 
@@ -34,6 +35,9 @@
        </div>
 
        <div class="panel-body">
+<sec:authorize access="hasRole('ROLE_ADMIN')">
+               <p>Servlet execution time: ${timeExecution} milliseconds</p>
+</sec:authorize>
                <c:choose>
                <c:when test="${njobs == 0}">
                        <p>No proteins with at least ${counter} jobs found</p>
@@ -73,4 +77,4 @@
        <jsp:include page="../fragments/footer.jsp" />
        </div>
 </body>
-</html>
\ No newline at end of file
+</html>