diff artifacts/doc/conf/meta-data.xml @ 8437:4fd063703487

Mention gauge name in theme name for historical discharge curves.
author "Tom Gottfried <tom@intevation.de>"
date Mon, 20 Oct 2014 14:22:51 +0200
parents 48ed9019d8a1
children 1326fc65638c
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Mon Oct 20 13:52:15 2014 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Mon Oct 20 14:22:51 2014 +0200
@@ -1046,15 +1046,16 @@
             <dc:group expr="$gauge_name">
               <gauge name="{dc:group-key()}">
                 <dc:for-each>
-                  <dc:variable name="combined_desc"
-                               expr="concat($bfg_id, ' ',
+                  <dc:variable name="validity"
+                               expr="concat(
                                      dc:date-format('dd.MM.yyyy', $start_time),
                                      ' - ',
                                      dc:date-format('dd.MM.yyyy', $stop_time))"/>
-                  <histdis name="{$combined_desc}"
-                           description="{$combined_desc}"
+                  <histdis name="{concat($bfg_id, ' ', $validity)}"
+                           description="{concat($bfg_id, ' ', $validity)}"
                            factory="gaugedischarge" target_out="{$out}"
-                           ids="{$gauge_name};{$dt_id};{$combined_desc}"/>
+                           ids="{$gauge_name};{$dt_id};{concat($bfg_id, ' ',
+                                  $gauge_name, ' ', $validity)}"/>
                 </dc:for-each>
               </gauge>
             </dc:group>

http://dive4elements.wald.intevation.org