[PATCH 4 of 4] issue1345: Show bedheight_type in tooltip
Wald Commits
scm-commit at wald.intevation.org
Tue Oct 15 14:55:28 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381842389 -7200
# Node ID cc4477750b0941f8d56e80d7acd220f9361d8d5b
# Parent ed23bfe42b19667a344aa3f0795212655a45c9ca
issue1345: Show bedheight_type in tooltip.
diff -r ed23bfe42b19 -r cc4477750b09 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Tue Oct 15 15:03:51 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml Tue Oct 15 15:06:29 2013 +0200
@@ -1624,7 +1624,7 @@
SELECT bhs.id AS bedh_id,
bhs.year AS bedh_year,
bhs.description AS bedh_descr,
- bht.id AS type_id
+ bht.name AS type_name
FROM bed_height_single bhs
JOIN bed_height_type bht ON bht.id = bhs.type_id
WHERE bhs.river_id = ${river_id}
@@ -1634,13 +1634,15 @@
<dc:group expr="$bedh_year">
<cross-sections name="{dc:group-key()}">
<dc:for-each>
- <height factory="bedheight" target_out="{$out}"
- ids="bedheight-single-{$bedh_id}-{$bedh_year}"
- description="{$type} {$bedh_descr}"/>
+ <height factory="bedheight"
+ target_out="{$out}"
+ ids="bedheight-single-{$bedh_id}-{$bedh_year}"
+ info="{$type_name}"
+ description="{$bedh_descr}"/>
</dc:for-each>
</cross-sections>
</dc:group>
- <dc:if>
+ </dc:if>
</dc:context>
</single>
</dc:macro>
More information about the Dive4elements-commits
mailing list