comparison flys-artifacts/doc/conf/meta-data.xml @ 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
parents a8cc4ebdd0bb
children ca4b6263996c
comparison
equal deleted inserted replaced
5626:6958479ec92d 5627:2d9eb188fa51
894 r.a AS dem_lower, 894 r.a AS dem_lower,
895 r.b AS dem_upper, 895 r.b AS dem_upper,
896 d.name AS name, 896 d.name AS name,
897 t.start_time AS start_time, 897 t.start_time AS start_time,
898 t.stop_time AS stop_time, 898 t.stop_time AS stop_time,
899 ' Proj: ' || d.projection || 899 'Projektion: ' || d.projection || '$' ||
900 ' Rasterweite: ' || d.resolution || 900 'Rasterweite: ' || d.resolution || 'm$' ||
901 ' Fmt: ' || d.format || 901 'Format: ' || d.format || '$' ||
902 ' Zeit: ' 902 'Zeitraum: '
903 AS info 903 AS info
904 FROM dem d 904 FROM dem d
905 JOIN ranges r ON d.range_id = r.id 905 JOIN ranges r ON d.range_id = r.id
906 LEFT JOIN time_intervals t ON d.time_interval_id = t.id 906 LEFT JOIN time_intervals t ON d.time_interval_id = t.id
907 WHERE d.river_id = ${river_id} 907 WHERE d.river_id = ${river_id}
908 </dc:statement> 908 </dc:statement>
909 <dc:for-each> 909 <dc:for-each>
910 <dem factory="demfactory" ids="{$dem_id}" name="{$name}" 910 <dem factory="demfactory" ids="{$dem_id}" name="{$name}"
911 info="{$info}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> 911 info="{dc:replace($info, '$', '&lt;BR&gt;')}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/>
912 </dc:for-each> 912 </dc:for-each>
913 </dc:context> 913 </dc:context>
914 </dems> 914 </dems>
915 </dc:macro> 915 </dc:macro>
916 916

http://dive4elements.wald.intevation.org