Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 8119:a9a6414b3563
Format timestamps in datacage tooltip for porosities.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Fri, 22 Aug 2014 08:04:43 +0200 |
parents | 84f42caeea2a |
children | b57f4bcd0f6f |
comparison
equal
deleted
inserted
replaced
8118:f2fa88f5f751 | 8119:a9a6414b3563 |
---|---|
1354 d.lower AS depth_lower, | 1354 d.lower AS depth_lower, |
1355 d.upper AS depth_upper, | 1355 d.upper AS depth_upper, |
1356 p.description || '<BR>' || | 1356 p.description || '<BR>' || |
1357 'Tiefe: ' || d.lower || ' - ' || d.upper | 1357 'Tiefe: ' || d.lower || ' - ' || d.upper |
1358 || ' cm <BR>' || | 1358 || ' cm <BR>' || |
1359 'Zeitraum: ' || t.start_time || ' - ' || t.stop_time | 1359 'Zeitraum: ' AS info, |
1360 AS info | 1360 t.start_time AS syear, |
1361 t.stop_time AS eyear | |
1361 FROM porosity p | 1362 FROM porosity p |
1362 JOIN depths d ON p.depth_id = d.id | 1363 JOIN depths d ON p.depth_id = d.id |
1363 JOIN time_intervals t ON p.time_interval_id=t.id | 1364 JOIN time_intervals t ON p.time_interval_id=t.id |
1364 WHERE p.river_id = ${river_id} | 1365 WHERE p.river_id = ${river_id} |
1365 ORDER BY depth_lower, depth_upper | 1366 ORDER BY depth_lower, depth_upper |
1367 <dc:if test="dc:has-result()"> | 1368 <dc:if test="dc:has-result()"> |
1368 <dc:for-each> | 1369 <dc:for-each> |
1369 <porosity description="{$depth_lower}-{$depth_upper} cm" | 1370 <porosity description="{$depth_lower}-{$depth_upper} cm" |
1370 factory="porosity" | 1371 factory="porosity" |
1371 target_out="{$out}" | 1372 target_out="{$out}" |
1372 info="{$info}" | 1373 info="{concat($info, dc:date-format('yyyy', $syear), |
1374 ' - ', dc:date-format('yyyy', $eyear))}" | |
1373 ids="{$pid};{$description}" /> | 1375 ids="{$pid};{$description}" /> |
1374 </dc:for-each> | 1376 </dc:for-each> |
1375 </dc:if> | 1377 </dc:if> |
1376 </dc:context> | 1378 </dc:context> |
1377 </porosities> | 1379 </porosities> |