diff gnv/src/main/webapp/WEB-INF/jsp/index.jsp @ 410:9602f4bffc07

Added statistic to the actions if available. gnv/trunk@604 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 22 Jan 2010 13:58:30 +0000
parents b5733f9f386b
children 8e39c74f9fb6
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/jsp/index.jsp	Fri Jan 22 11:28:25 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/jsp/index.jsp	Fri Jan 22 13:58:30 2010 +0000
@@ -6,6 +6,7 @@
 <%@page import="java.util.Iterator"%>
 <%  Object ui              = request.getAttribute("ui");
     Object staticui        = request.getAttribute("staticui");
+    Object statistic       = request.getAttribute("statistic");
     boolean furthertargets = true;
       
     Object furthertargetsObject = request.getAttribute("furthertargets");
@@ -41,3 +42,8 @@
 
     <%-- render export options if existing for this state --%>
     <jsp:include page="includes/display_export_inc.jsp"></jsp:include>
+
+    <%-- render statistic --%>
+    <%if (statistic != null) {%>
+        <jsp:include page="includes/display_diagramm_statistics_inc.jsp"></jsp:include>
+    <%}%>

http://dive4elements.wald.intevation.org