Mercurial > dive4elements > river
changeset 5627:2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
This makes the dem hover item layout more robust as it works
with different string lengths
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 10 Apr 2013 10:25:33 +0200 (2013-04-10) |
parents | 6958479ec92d |
children | 142ed3c62765 |
files | flys-artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml Wed Apr 10 10:24:40 2013 +0200 +++ b/flys-artifacts/doc/conf/meta-data.xml Wed Apr 10 10:25:33 2013 +0200 @@ -896,10 +896,10 @@ d.name AS name, t.start_time AS start_time, t.stop_time AS stop_time, - ' Proj: ' || d.projection || - ' Rasterweite: ' || d.resolution || - ' Fmt: ' || d.format || - ' Zeit: ' + 'Projektion: ' || d.projection || '$' || + 'Rasterweite: ' || d.resolution || 'm$' || + 'Format: ' || d.format || '$' || + 'Zeitraum: ' AS info FROM dem d JOIN ranges r ON d.range_id = r.id @@ -908,7 +908,7 @@ </dc:statement> <dc:for-each> <dem factory="demfactory" ids="{$dem_id}" name="{$name}" - info="{$info}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> + info="{dc:replace($info, '$', '<BR>')}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> </dc:for-each> </dc:context> </dems>