comparison flys-artifacts/doc/conf/meta-data.xml @ 1758:1d78039a36e6

Include differences in datacage. flys-artifacts/trunk@3070 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 25 Oct 2011 12:37:05 +0000
parents 63d5d52ba7f3
children 424e26041564
comparison
equal deleted inserted replaced
1757:63d5d52ba7f3 1758:1d78039a36e6
388 <dc:comment> 388 <dc:comment>
389 User specific part 389 User specific part
390 ------------------ 390 ------------------
391 </dc:comment> 391 </dc:comment>
392 <dc:when test="dc:contains($parameters, 'user-id')"> 392 <dc:when test="dc:contains($parameters, 'user-id')">
393 <dc:comment>
394 Show diffferences if longitudinal sections are there.
395 -----------------------------------------------------
396 </dc:comment>
397 <dc:choose>
398 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')">
399 <dc:context>
400 <dc:statement>
401 SELECT name AS facet_name, num as facet_num, description AS facet_description
402 FROM facets
403 WHERE name = 'w_differences'
404 ORDER BY num ASC, name DESC
405 </dc:statement>
406 <dc:elements>
407 <differences>
408 <dc:element name="${facet_name}">
409 <dc:attribute name="description" value="${facet_description}"/>
410 <dc:attribute name="ids" value="${facet_num}"/>
411 <dc:attribute name="factory" value="winfo"/>
412 <!--dc:attribute name="artifact-id" value="${a_gid}"/-->
413 <dc:attribute name="out" value="w_differences"/>
414 </dc:element>
415 </differences>
416 </dc:elements>
417 </dc:context>
418 </dc:when>
419 </dc:choose>
393 <old_calculations> 420 <old_calculations>
394 <dc:context connection="user"> 421 <dc:context connection="user">
395 <dc:statement>SELECT u.id AS user_id, c.id AS collection_id, c.name as collection_name 422 <dc:statement>SELECT u.id AS user_id, c.id AS collection_id, c.name as collection_name
396 FROM collections c JOIN users u ON c.user_id = u.id 423 FROM collections c JOIN users u ON c.user_id = u.id
397 WHERE u.gid = CAST(${user-id} AS uuid) 424 WHERE u.gid = CAST(${user-id} AS uuid)

http://dive4elements.wald.intevation.org