changeset 6279:5f822f311f89

Add km range to description of waterlevels for issue565 dc:l10n("string") anyone? :)
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 12 Jun 2013 10:13:55 +0200
parents cd6947eaa5ed
children 36455dfcb788
files artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Tue Jun 11 17:19:59 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Jun 12 10:13:55 2013 +0200
@@ -678,8 +678,10 @@
             <dc:group expr="concat($river, ' ', $a_creation, ' ', $collection_name)">
               <waterlevels description="{dc:group-key()}">
                 <dc:for-each>
+                  <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ',
+                    $deffrom, ' bis KM ', $defto)"/>
                   <dc:element name="${facet_name}">
-                    <dc:attribute name="description" value="${facet_description}"/>
+                    <dc:attribute name="description" value="${combined_desc}"/>
                     <dc:attribute name="ids" value="${facet_num}"/>
                     <dc:attribute name="factory" value="winfo"/>
                     <dc:attribute name="target_out" value="${out}"/>

http://dive4elements.wald.intevation.org