KIBE#68014 mode=share toegevoegd aan opdrachten en meldingen default

svn path=/Website/trunk/; revision=54737
This commit is contained in:
Ruud Lipper
2022-01-28 14:42:10 +00:00
parent 97793e44a3
commit 70503309d8

View File

@@ -1999,11 +1999,20 @@ END:VCALENDAR
<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:if test="$mode!='email' and $mode!='SHARE' ">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:choose>
<xsl:when test="$mode = 'SHARE'">
<div>Melding <xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/> (<xsl:value-of select="stdmelding/omschrijving"/>)
<xsl:element name="a">
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/></xsl:attribute>
<xsl:attribute name="target">_new</xsl:attribute>#<xsl:value-of select="key"/>
</xsl:element>
<xsl:if test="onderwerp != ''">&#160;<br/><span class="subj"><xsl:value-of select="onderwerp"/></span></xsl:if>
</div>
</xsl:when>
<xsl:when test="$srtnotificatiecode = 'MLDKTO'">
<xsl:apply-templates select="." mode="kto"/>
</xsl:when>
@@ -2293,12 +2302,25 @@ END:VCALENDAR
<xsl:comment>Facilitor default XSL template for opdracht</xsl:comment>
<xsl:call-template name="htmlhead"/>
<xsl:element name="body">
<xsl:if test="$mode!='email'">
<xsl:if test="$mode!='email' and $mode!='SHARE'">
<xsl:attribute name="onload">window.print();</xsl:attribute>
</xsl:if>
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
<xsl:choose>
<xsl:when test="$mode = 'SHARE'">
<div>Opdracht <xsl:value-of select="melding/discipline/srtdiscipline/prefix"/><xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/> (<xsl:value-of select="melding/stdmelding/omschrijving"/>)
<xsl:element name="a">
<xsl:attribute name="href">https://<xsl:value-of select="$FacilitorRoot"/>?<xsl:value-of select="../bookmarks/opdracht"/><xsl:value-of select="key"/></xsl:attribute>
<xsl:attribute name="target">_new</xsl:attribute>#<xsl:value-of select="melding/key"/>/<xsl:value-of select="bedrijfopdr_volgnr"/>
</xsl:element>
<xsl:if test="onderwerp != ''">&#160;<br/><span class="subj"><xsl:value-of select="melding/onderwerp"/></span></xsl:if>
</div>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="pageheader"/>
<xsl:apply-templates select="." mode="include"/>
<xsl:call-template name="pagefooter"/>
</xsl:otherwise>
</xsl:choose>
</xsl:element>
</html>
</xsl:otherwise>