comparison artifacts/doc/conf/meta-data.xml @ 7905:34fa3f8c20ed

issue661: prototyped tooltip for porosities in datacage.
author "Tom Gottfried <tom@intevation.de>"
date Fri, 30 May 2014 15:46:53 +0200
parents f9e3ef5d38d0
children 06aca4e889b9
comparison
equal deleted inserted replaced
7904:8b8407c71ee2 7905:34fa3f8c20ed
1332 <dc:statement> 1332 <dc:statement>
1333 SELECT DISTINCT 1333 SELECT DISTINCT
1334 p.id AS pid, 1334 p.id AS pid,
1335 p.description AS description, 1335 p.description AS description,
1336 d.lower AS depth_lower, 1336 d.lower AS depth_lower,
1337 d.upper AS depth_upper 1337 d.upper AS depth_upper,
1338 p.description || '&lt;BR&gt;' ||
1339 'Tiefe: ' || d.lower || ' - ' || d.upper
1340 || ' cm &lt;BR&gt;' ||
1341 'Zeitraum: ' || t.start_time || ' - ' || t.stop_time
1342 AS info
1338 FROM porosity p 1343 FROM porosity p
1339 JOIN depths d ON p.depth_id = d.id 1344 JOIN depths d ON p.depth_id = d.id
1340 JOIN porosity_values pv on pv.porosity_id = p.id 1345 JOIN time_intervals t ON p.time_interval_id=t.id
1341 WHERE p.river_id = ${river_id} 1346 WHERE p.river_id = ${river_id}
1342 GROUP BY p.id, p.description, d.upper, d.lower
1343 ORDER BY depth_lower, depth_upper 1347 ORDER BY depth_lower, depth_upper
1344 </dc:statement> 1348 </dc:statement>
1345 <dc:if test="dc:has-result()"> 1349 <dc:if test="dc:has-result()">
1346 <dc:for-each> 1350 <dc:for-each>
1347 <porosity description="{$depth_lower}-{$depth_upper} cm" 1351 <porosity description="{$depth_lower}-{$depth_upper} cm"
1348 factory="porosity" 1352 factory="porosity"
1349 target_out="{$out}" 1353 target_out="{$out}"
1350 info="{$description}" 1354 info="{$info}"
1351 ids="{$pid};{$description}" /> 1355 ids="{$pid};{$description}" />
1352 </dc:for-each> 1356 </dc:for-each>
1353 </dc:if> 1357 </dc:if>
1354 </dc:context> 1358 </dc:context>
1355 </porosities> 1359 </porosities>

http://dive4elements.wald.intevation.org