diff artifacts/doc/conf/meta-data.xml @ 9520:b188255f08b3

Allow to filter datacage entries by module-roles of current user. Hide Sinfo, Uinfo and Minfo branches if user does not have those modules.
author gernotbelger
date Mon, 01 Oct 2018 16:21:20 +0200
parents 2e6fd354dd8e
children abf4d0b10270
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Mon Oct 01 16:21:16 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Mon Oct 01 16:21:20 2018 +0200
@@ -290,14 +290,14 @@
                     <dc:call-macro name="bed-heights-single-KL_TW"/>
                   </dc:when>
                   <dc:when test="$out = 'sinfo_flowdepth_waterlevels'">
-                    <minfo>
+                    <minfo module="minfo">
                       <fixanalysis>
                         <dc:call-macro name="basedata_7_waterlevels"/>
                       </fixanalysis>
                     </minfo>
                     <dc:call-macro name="basedata_3_officials"/>
                     <dc:call-macro name="basedata_2_fixations"/>
-                    <sinfo>
+                    <sinfo module="sinfo">
                       <sinfo_additional_ls>
                         <dc:call-macro name="basedata_1_additionals-sinfo-with-q"/>
                         <dc:call-macro name="basedata_1_additionals-sinfo-without-q"/>
@@ -1355,7 +1355,7 @@
 
     <!-- Default Vegetation Zones -->
     <dc:macro name="predefined_vegetation_zones">
-      <uinfo>
+      <uinfo module="uinfo">
         <vegetation_zones>
           <dc:variable name="vegzonedata" expr="dc:defaultvegetationzone($river)"/>
 
@@ -1688,7 +1688,7 @@
       <dc:call-macro name="basedata_3_officials_wq"/>
       <dc:call-macro name="basedata_4_heightmarks-points_wq"/>
       <dc:call-macro name="basedata_5_flood-protections_wq"/>
-      <minfo>
+      <minfo module="minfo">
         <dc:call-macro name="sqrelations"/>
         <dc:call-macro name="basedata_7_waterlevels_wq"/>
       </minfo>
@@ -1701,7 +1701,7 @@
       <dc:call-macro name="fix-wq-curve"/>
       <!-- TODO: own macro for Vollmer-curve (extract from fix-wq-curve and waterlevels-user) -->
       <dc:call-macro name="extreme-wq-curve"/>
-      <minfo>
+      <minfo module="minfo">
         <dc:call-macro name="sqrelations_user"/>
       </minfo>
     </dc:macro>
@@ -1714,7 +1714,7 @@
       <dc:call-macro name="basedata_4_heightmarks-points"/>
       <dc:call-macro name="basedata_5_flood-protections"/>
       <dc:call-macro name="annotations_per_type"/>
-      <minfo>
+      <minfo module="minfo">
         <fixanalysis>
           <dc:call-macro name="basedata_6_delta_w"/>
           <dc:call-macro name="basedata_7_waterlevels"/>
@@ -1731,7 +1731,7 @@
         </flow_velocities>
       </minfo>
 
-      <sinfo>
+      <sinfo module="sinfo">
         <sinfo_predefined_flowdepths>
           <dc:call-macro name="sinfo_predefined_flowdepth-m"/>
         </sinfo_predefined_flowdepths>

http://dive4elements.wald.intevation.org