diff flys-artifacts/doc/conf/meta-data-user.xml @ 1017:8637756275e5

Added a <dc:comment> tag to place comments in the meta data templates. flys-artifacts/trunk@2463 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 04 Aug 2011 10:58:00 +0000
parents 9a1a3080ad98
children d42fa223be48
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data-user.xml	Thu Aug 04 10:24:23 2011 +0000
+++ b/flys-artifacts/doc/conf/meta-data-user.xml	Thu Aug 04 10:58:00 2011 +0000
@@ -1,6 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage">
 <datacage>
-    <dc:text>IMPLEMENT ME!</dc:text>
+    <dc:comment>
+        User specific part
+        ------------------
+    </dc:comment>
+    <dc:if test="dc:contains($parameters, 'user-id')">
+        <dc:text>Current user id: ${user-id}</dc:text>
+    </dc:if>
 </datacage>
 </dc:template>

http://dive4elements.wald.intevation.org