Mercurial > dive4elements > river
changeset 7402:93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 21 Oct 2013 12:21:40 +0200 |
parents | bbf758e594bb |
children | 99312d2b4a20 |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Mon Oct 21 12:22:40 2013 +0200 +++ b/artifacts/doc/conf/meta-data.xml Mon Oct 21 12:21:40 2013 +0200 @@ -1728,7 +1728,9 @@ <dc:context> <dc:statement> SELECT fvm.id AS fvmid, - fvm.description AS fvmd + fvm.description AS fvmd, + dz.upper_discharge AS upperQ, + dz.lower_discharge AS lowerQ FROM flow_velocity_model fvm JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id WHERE dz.river_id = ${river_id} @@ -1736,9 +1738,11 @@ <dc:if test="dc:has-result()"> <flowvelocitymodel> <dc:for-each> - <measurement_value name="{$fvmd}" - ids="{$fvmid}" - factory="flowvelocitymodel" target_out="{$out}" /> + <measurement_value name="{$fvmd}" + ids="{$fvmid}" + factory="flowvelocitymodel" + info="{$lowerQ} - {$upperQ}" + target_out="{$out}" /> </dc:for-each> </flowvelocitymodel> </dc:if>