Mercurial > dive4elements > river
changeset 7264:36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 09 Oct 2013 09:57:49 +0200 |
parents | cf1c4af57a41 |
children | 1446bdb372c9 |
files | artifacts/doc/conf/meta-data.xml |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Tue Oct 08 15:24:33 2013 +0200 +++ b/artifacts/doc/conf/meta-data.xml Wed Oct 09 09:57:49 2013 +0200 @@ -710,6 +710,25 @@ </dc:filter> </dc:macro> + <dc:macro name="computed-discharge-curve"> + <dc:filter expr="$facet_name = 'computed_discharge_curve.q'"> + <dc:if test="dc:has-result()"> + <computed_discharge_curves> + <dc:for-each> + <dc:element name="${facet_name}"> + <dc:attribute name="description" value="${facet_description}"/> + <dc:attribute name="factory" value="winfo"/> + <dc:attribute name="target_out" value="${out}"/> + <dc:attribute name="artifact-id" value="${a_gid}"/> + <dc:attribute name="ids" value="${a_gid}"/> + <dc:attribute name="out" value="computed_discharge_curve"/> + </dc:element> + </dc:for-each> + </computed_discharge_curves> + </dc:if> + </dc:filter> + </dc:macro> + <dc:macro name="duration-curve"> <dc:filter expr="$facet_name = 'duration_curve.q' or $facet_name = 'duration_curve.w'"> <dc:if test="dc:has-result()">