[PATCH 1 of 5] Revert 7273, add undefined macro to meta-data.xml

Wald Commits scm-commit at wald.intevation.org
Thu Oct 10 11:16:56 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381391341 -7200
# Node ID c9d448b959acee338dd77b60699660e6c866fe72
# Parent  d6fd88ff553b642e1d6b561dc37a64b1f68cf416
Revert 7273, add undefined macro to meta-data.xml.

diff -r d6fd88ff553b -r c9d448b959ac artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 09 17:56:39 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Thu Oct 10 09:49:01 2013 +0200
@@ -159,6 +159,7 @@
                   </dc:when>
                   <dc:when test="$out = 'discharge_curve'">
                     <dc:call-macro name="discharge-curve-prototype"/>
+                    <dc:call-macro name="basedata_1_additionals_wq"/>
                     <dc:call-macro name="basedata_5_flood-protections"/>
                     <computed_discharge_curve>
                       <dc:call-macro name="mainvalues"/>
@@ -246,8 +247,9 @@
                   </dc:when>
                   <dc:when test="$out = 'computed_discharge_curve'">
                     <dc:call-macro name="discharge-curve-prototype"/>
+                    <dc:call-macro name="basedata_0_wq"/>
+                    <dc:call-macro name="basedata_1_additionals_wq"/>
                     <dc:call-macro name="basedata_5_flood-protections"/>
-                    <dc:call-macro name="basedata_0_wq"/>
                     <computed_discharge_curve>
                       <dc:call-macro name="mainvalues"/>
                     </computed_discharge_curve>
@@ -1778,6 +1780,15 @@
       </dc:call-macro>
     </dc:macro>
 
+    <dc:macro name="basedata_1_additionals_wq">
+      <dc:call-macro name="basedata_1_additionals_macro">
+        <column name="{$wst_column_name}"
+                ids="base_data-wstv-{$wst_column_position}-{$wst_id}"
+                factory="wqinterpol" target_out="{$out}"
+                info="{$info} [km {$deffrom} - {$defto}]"/>
+      </dc:call-macro>
+    </dc:macro>
+
     <!-- Floodmap part -->
     <dc:macro name="flood-map-complete">
       <dc:call-macro name="flood-map-buildings"/>


More information about the Dive4elements-commits mailing list