melding.xsl vanuit prod bijwerken

svn path=/Website/branches/v2018.1/; revision=38513
This commit is contained in:
Jos Groot Lipman
2018-07-16 08:35:41 +00:00
parent 48874669f2
commit ccee48150b

View File

@@ -1,5 +1,5 @@
<?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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:fclt="http://facilitor.nl/xsltools" version="1.0">
<xsl:import href="./../../../appl/Shared/default.xsl"/>
<xsl:template name="stylesheet">
@@ -9,6 +9,7 @@
background-color: #fff;
margin-left: 2em;
margin-top: 1em;
margin-right: 1em;
line-height: 1.5em;
cursor: auto;
color: #111;
@@ -24,7 +25,7 @@
}
@media all and (min-width: 400px) {
body {
font-size: 1em;
font-size: 0.9em;
}
.flogoimg {
width: 100%;
@@ -33,12 +34,12 @@
pre, xmp, code {
font-style: normal;
white-space: pre;
display:block;
}
.mldbeh {
font-size: 0.8em;
font-size: 0.9em;
color: #666;
margin-left: -5px;
}
td {
font-size: 0.6em;
@@ -91,17 +92,17 @@
<span class="titel">
<xsl:value-of select="stdmelding/omschrijving"/>&#160;
<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:value-of select="voor/afdeling/omschrijving"/>#<xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/>
<xsl:attribute name="href">https://logcentre.facilitor.nl?<xsl:value-of select="../bookmarks/melding"/><xsl:value-of select="key"/></xsl:attribute><xsl:value-of select="kostenplaats/nr"/>#<xsl:value-of select="discipline/srtdiscipline/prefix"/><xsl:value-of select="key"/>
</xsl:element>
<xsl:if test="onderwerp != ''">&#160;<br/><span class="subj"><xsl:value-of select="onderwerp"/></span></xsl:if>
</span>
<xsl:if test="spoed&lt;3">
<span class="label">
<xsl:value-of select="//lcl/MLD/spoed"/>
&#xA0;<xsl:value-of select="//lcl/MLD/spoed"/>
</span>
</xsl:if>
<div class="melder">
<span class="label"><xsl:value-of select='//lcl/FAC/aanvrager'/></span><xsl:value-of select="voor/naam_friendly"/>&#160;<span class="label">op</span><xsl:value-of select="gemeld/datum"/>
<span class="label"><xsl:value-of select='//lcl/FAC/aanvrager'/></span>&#xA0;<xsl:value-of select="voor/naam_friendly"/>&#160;<span class="label">op</span>&#xA0;<xsl:value-of select="gemeld/datum"/>
<xsl:if test="gemeld/tijd!='00:00'">&#xA0;om&#xA0;<xsl:value-of select="gemeld/tijd"/></xsl:if>
<xsl:if test="aanvrager/naam_full!=voor/naam_full">
<br/><span class="label"><xsl:value-of select='//lcl/MLD/meldingvoor'/></span>&#160;<xsl:value-of select="voor/naam_friendly"/>
@@ -123,23 +124,25 @@
<br/>
<span class="label"><xsl:value-of select="//lcl/FAC/omschrijving"/></span>
<br/>
<div class="indent">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
<div class="indent fclthtml">
<xsl:value-of select="fclt:fclthtml(omschrijving)" disable-output-escaping="yes"/>
</div>
<br/>
<span class="label"><xsl:value-of select="//lcl/MLD/vakgroep"/></span>&#160;<xsl:value-of select="discipline/omschrijving"/>
<br/>
<span class="label"><xsl:value-of select="//lcl/MLD/status"/></span>&#160;<xsl:value-of select="status"/>
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and count(@xmlnode)=0]">
<xsl:for-each select="kenmerk[@type!='L' and @type!='l' and @type!='Q' and @key!='101' and count(@xmlnode)=0]">
<xsl:sort select="@volgnummer" data-type="number"/>
<xsl:if test=".!=''">
<br/>
<span class="label"><xsl:value-of select="@naam"/>&#160;</span><xsl:value-of select="."/>
<span class="label"><xsl:value-of select="@naam"/>&#160;</span><xsl:value-of select="fclt:fclthtml(.)" disable-output-escaping="yes"/>
</xsl:if>
</xsl:for-each>
<br/>
<xsl:if test="substring(kenmerk[@key=101],1,2) = '20' and $srtnotificatiecode='MLDAFM'">
<br/>
<b>Let op:</b> deze melding staat gepland voor core release <xsl:value-of select="//kenmerk[@key=101]"/>. De melding is intern gerealiseerd maar is voor jullie beschikbaar zodra deze release officieel wordt uitgebracht.
</xsl:if>
<xsl:if test="behandelaar/naam_friendly!=''">
<span class="label"><xsl:value-of select="//lcl/FAC/behandelaar"/></span>&#160;<xsl:value-of select="behandelaar/naam_friendly"/>
</xsl:if>
@@ -150,20 +153,16 @@
<span class="label"><xsl:value-of select="//lcl/MLD/behandeling"/></span>
</xsl:if>
<br/>
<span class="mldbeh"><xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>&#xA0;-&#xA0;<xsl:value-of select="noteur/naam_friendly"/></span>&#xA0;
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="omschrijving"/>
</xsl:call-template>
<span class="mldbeh fclthtml"><xsl:value-of select="aanmaak/datum"/>&#xA0;<xsl:value-of select="aanmaak/tijd"/>&#xA0;-&#xA0;<xsl:value-of select="noteur/naam_friendly"/></span>&#xA0;
<xsl:value-of select="fclt:fclthtml(omschrijving)" disable-output-escaping="yes"/>
</xsl:for-each>
<xsl:if test="opmerking!=''">
<br/>
<br/><br/>
<span class="label"><xsl:value-of select="//lcl/MLD/afhandeling"/></span>
<br/>
<div class="indent">
<xsl:call-template name="linebreaks">
<xsl:with-param name="string" select="opmerking"/>
</xsl:call-template>
</div>
<div class="indent fclthtml">
<xsl:value-of select="fclt:fclthtml(opmerking)" disable-output-escaping="yes"/>
</div>
</xsl:if>
</div>
@@ -171,26 +170,3 @@
</xsl:template>
</xsl:stylesheet>