Mercurial > dive4elements > river
changeset 7330:cc4477750b09
issue1345: Show bedheight_type in tooltip.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 15 Oct 2013 15:06:29 +0200 |
parents | ed23bfe42b19 |
children | 0ad8ccbd6aa4 |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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>