changeset 1773:9be01e2e6897

Prevent recommendation of not yet loadable data. flys-artifacts/trunk@3094 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 27 Oct 2011 14:04:04 +0000
parents 460374a08c44
children 092e1e5020bc
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Oct 27 09:42:49 2011 +0000
+++ b/flys-artifacts/ChangeLog	Thu Oct 27 14:04:04 2011 +0000
@@ -1,3 +1,8 @@
+2011-10-27	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* doc/conf/meta-data.xml: Do not recommend historical data to load
+	  when having computational discharge curves.
+
 2011-10-27	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java:
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Oct 27 09:42:49 2011 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Oct 27 14:04:04 2011 +0000
@@ -214,7 +214,7 @@
               </dc:context>
             </extra-longitudinal-sections>
           </dc:if>
-          <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
+          <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve') and not (dc:contains($parameters, 'recommended'))">
               <discharge-table-nn>
                 <discharge-table-gauge>
                   <dc:context>

http://dive4elements.wald.intevation.org