[PATCH 7 of 8] Fixed datacage macro for winfo differences and added the new facet

Wald Commits scm-commit at wald.intevation.org
Thu Mar 6 15:22:32 CET 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1394111400 -3600
# Branch minfo-opt
# Node ID 0d846c211b3bef8f2b33498e2606287731bed652
# Parent  cbc2445ef09abdc53e08ab45592389920870742f
Fixed datacage macro for winfo differences and added the new facet.

diff -r cbc2445ef09a -r 0d846c211b3b artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Thu Mar 06 14:09:10 2014 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Thu Mar 06 14:10:00 2014 +0100
@@ -469,19 +469,20 @@
     </dc:macro>
 
     <dc:macro name="differences">
-      <dc:filter expr="$facet_name = 'w_differences'">
+      <dc:filter expr="$facet_name = 'w_differences' or $facet_name = 'w_differences.filtered'">
         <dc:if test="dc:has-result()">
           <differences>
             <dc:call-macro name="collection-group">
               <differences description="{dc:group-key()}">
                 <dc:for-each>
-                    <w_differences
-                      description="{$facet_description}"
-                      factory="winfo"
-                      artifact-id="{$a_gid}"
-                      ids="{$facet_num}"
-                      target_out="{$out}"
-                      out="w_differences"/>
+                  <dc:element name="${facet_name}">
+                    <dc:attribute name="description" value="${facet_description}"/>
+                    <dc:attribute name="factory" value="winfo"/>
+                    <dc:attribute name="artifact-id" value="${a_gid}"/>
+                    <dc:attribute name="ids" value="${facet_num}"/>
+                    <dc:attribute name="target_out" value="${out}"/>
+                    <dc:attribute name="out" value="${out_name}"/>
+                  </dc:element>
                 </dc:for-each>
               </differences>
             </dc:call-macro>


More information about the Dive4elements-commits mailing list