changeset 7795:0d846c211b3b minfo-opt

Fixed datacage macro for winfo differences and added the new facet.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 06 Mar 2014 14:10:00 +0100
parents cbc2445ef09a
children 842f3a5a89b0
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 9 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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>

http://dive4elements.wald.intevation.org