HSLE#34481 mldnot bon verfijnen

svn path=/Website/branches/v2015.3/; revision=27499
This commit is contained in:
Ruud Lipper
2015-12-18 08:20:43 +00:00
parent 2f87cc435c
commit 6f117aa768

View File

@@ -7,6 +7,8 @@
<xsl:value-of select="substring(translate('$Revision$', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:variable name="Xsrtnotificatiecode">MLDNOT</xsl:variable>
<xsl:template match="melding" mode="include">
<table border="0" width="100%" cellpadding="2">
<tr>
@@ -27,12 +29,6 @@
https://<xsl:value-of select="$FacilitorRoot"/>/cust/hsle/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
</xsl:attribute>hier</xsl:element> indien u een notitie (b.v. vragen of opmerkingen) bij deze melding wilt toevoegen.
</xsl:if>
<xsl:if test="$srtnotificatiecode = 'MLDNOT'">
Klik <xsl:element name="a">
<xsl:attribute name="href">
https://<xsl:value-of select="$FacilitorRoot"/>/cust/hsle/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
</xsl:attribute>hier</xsl:element> om via notities een antwoord/feedback te geven aan Servicedesk.
</xsl:if>
<xsl:if test="$srtnotificatiecode = 'MLDBE2'">
U bent behandelaar van deze melding. Klik <xsl:element name="a">
<xsl:attribute name="href">
@@ -52,8 +48,15 @@
<b><xsl:value-of select="//lcl/FAC/telefoon"/>:</b>
</td>
<td align="left" width="34%">
<xsl:if test="voor/telefoonnr=''">-</xsl:if>
<xsl:value-of select="voor/telefoonnr"/>
<xsl:choose>
<xsl:when test="voor/mobiel">
<xsl:value-of select="voor/mobiel"/>
</xsl:when>
<xsl:when test="voor/telefoonnr">
<xsl:value-of select="voor/telefoonnr"/>
</xsl:when>
<xsl:otherwise>-</xsl:otherwise>
</xsl:choose>
</td>
</tr>
<xsl:if test="string(voor/naam_full)!=string(voor/naam_full)">
@@ -216,6 +219,50 @@
</td>
</tr>
<xsl:comment>als we binnen een opdracht zijn, tonen we de meldingtekst niet</xsl:comment>
<xsl:if test="$srtnotificatiecode = 'MLDNOT' or $srtnotificatiecode = 'MLDNOB'">
<tr height="20px"><td colspan="4"><hr/></td></tr>
<tr>
<td colspan="4"><b>Notities:</b></td></tr>
<xsl:for-each select="notes/note">
<xsl:sort select="aanmaak/timestamp" order="descending"/>
<xsl:if test="flag = 1">
<tr>
<xsl:choose>
<xsl:when test="position() = 1">
<td width="20%">
<b><xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/></b>
</td>
<td colspan="3"><b><xsl:value-of select="noteur/naam_friendly"/>:&#xA0;
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template></b>
</td>
</xsl:when>
<xsl:otherwise>
<td>
<xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>
</td>
<td colspan="3"><xsl:value-of select="noteur/naam_friendly"/>:&#xA0;
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
</td>
</xsl:otherwise>
</xsl:choose>
</tr>
</xsl:if>
</xsl:for-each>
<tr height="10px"><td colspan="4"/></tr>
<tr>
<td colspan="4"><b>
Klik <xsl:element name="a">
<xsl:attribute name="href">
https://<xsl:value-of select="$FacilitorRoot"/>/cust/hsle/saml/?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/>
</xsl:attribute>hier</xsl:element> om via notities een antwoord/feedback te geven aan Servicedesk.</b>
</td>
</tr>
<tr height="10px"><td colspan="4"/></tr>
</xsl:if>
<tr>
<td align="right" valign="top">
<b><xsl:value-of select="//lcl/FAC/omschrijving"/>:</b>