[Dive4elements-commits] [PATCH 1 of 4] When the HWS parameter is given only show the inline hws

Wald Commits scm-commit at wald.intevation.org
Mon Apr 8 16:58:18 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365432338 -7200
# Node ID 085711915cc49a7a8884c1cf1281dfbabdf6bf2a
# Parent  8fce357029084a69df6a1d0ff1d1b35f90adbb2c
When the HWS parameter is given only show the inline hws

diff -r 8fce35702908 -r 085711915cc4 flys-artifacts/doc/conf/meta-data.xml
--- 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.


More information about the Dive4elements-commits mailing list