changeset 7963:7f1143972f16

DC: Group bedheight diffs by both years.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 20 Jun 2014 16:41:30 +0200
parents e98ebf6585ad
children d13859c0ef51
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 1 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Fri Jun 20 16:33:36 2014 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Fri Jun 20 16:41:30 2014 +0200
@@ -1778,27 +1778,7 @@
     </dc:macro>
 
     <dc:macro name="minfo-heights-diff-tree">
-      <dc:comment>TODO: We need to group for year1 and year2</dc:comment>
-      <dc:group expr="$b1year">
-        <dc:element name="${dc:group-key()}">
-          <dc:comment>TODO: Better structure</dc:comment>
-          <dc:for-each>
-            <dc:comment>A - B</dc:comment>
-            <height factory="bedheight"
-                    target_out="{$out}"
-                    ids="bedheight-single-{$b1id}-{$b2id}"
-                    description="{$b1desc} - {$b2desc}"/>
-          </dc:for-each>
-          <dc:for-each>
-            <dc:comment>B - A</dc:comment>
-            <height factory="bedheight"
-                    target_out="{$out}"
-                    ids="bedheight-single-{$b2id}-{$b1id}"
-                    description="{$b2desc} - {$b1desc}"/>
-          </dc:for-each>
-        </dc:element>
-      </dc:group>
-      <dc:group expr="$b2year">
+      <dc:group expr="$b1year #!# $b2year">
         <dc:element name="${dc:group-key()}">
           <dc:comment>TODO: Better structure</dc:comment>
           <dc:for-each>

http://dive4elements.wald.intevation.org