changeset 5597:085711915cc4

When the HWS parameter is given only show the inline hws
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 08 Apr 2013 16:45:38 +0200
parents 8fce35702908
children 989c0d196bfe
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 6 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Mon Apr 08 16:42:50 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml	Mon Apr 08 16:45:38 2013 +0200
@@ -863,18 +863,17 @@
             <dc:when test="dc:contains($parameters, 'dem')">
               <dc:call-macro name="flood-map-dem"/>
             </dc:when>
+            <dc:when test="dc:contains($parameters, 'hws')">
+              <hws>
+                <dc:call-macro name="flood-map-hws-lines"/>
+                <dc:call-macro name="flood-map-hws-points"/>
+              </hws>
+            </dc:when>
             <dc:otherwise>
               <dc:call-macro name="flood-map-complete"/>
             </dc:otherwise>
           </dc:choose>
 
-          <dc:if test="dc:contains($parameters, 'hws')">
-            <hws>
-              <dc:call-macro name="flood-map-hws-lines"/>
-              <dc:call-macro name="flood-map-hws-points"/>
-            </hws>
-          </dc:if>
-
           <dc:macro name="flood-map-recommended">
             <dc:comment>
                FIXME: Following two macros look identical to me.

http://dive4elements.wald.intevation.org