[Dive4elements-commits] [PATCH] Add km range to description of waterlevels for issue565

Wald Commits scm-commit at wald.intevation.org
Wed Jun 12 10:13:59 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1371024835 -7200
# Node ID 5f822f311f89902339d6df21b6faba82d2312286
# Parent  cd6947eaa5edf8878ce9bf2dfcaee8438fed7f65
Add km range to description of waterlevels for issue565

    dc:l10n("string") anyone? :)

diff -r cd6947eaa5ed -r 5f822f311f89 artifacts/doc/conf/meta-data.xml
--- 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}"/>


More information about the Dive4elements-commits mailing list