HCAS#51229 - formulierbewerker

svn path=/Website/branches/v2017.2/; revision=36134
This commit is contained in:
Dennis Hartmann
2017-11-28 12:06:37 +00:00
parent ba74fae033
commit c90eb5cd5c

45
CUST/HCAS/xsl/melding.xsl Normal file
View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:import href="./hcas.xsl"/>
<xsl:template match="melding" mode="include">
<xsl:apply-imports />
<br/>
<p>Klik
<xsl:element name="a">
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>/cust/hcas/saml/?<xsl:value-of select="//bookmarks/melding"/>
<xsl:value-of select="key"/>
</xsl:attribute>
hier</xsl:element>
om deze melding te openen in het Facilitair Meldpunt.</p>
</xsl:template>
<xsl:template match="melding" mode="full">
<xsl:choose>
<xsl:when test="$mode='summary'"></xsl:when>
<xsl:otherwise>
<html>
<xsl:comment>================================ MELDINGEN ==============================</xsl:comment>
<xsl:comment>FACILITOR default XSL template for melding</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:choose>
<xsl:when test="$srtnotificatiecode = 'MLDKTO'">
<xsl:apply-templates select="." mode="kto"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="." mode="include"/>
</xsl:otherwise>
</xsl:choose>
<xsl:call-template name="pagefooter"/>
</xsl:element>
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>