comparison flys-client/src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl @ 2531:180a500d7ddb

Fixing overview: Render the Q class to the title of the sectors of the events. flys-client/trunk@4427 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 16 May 2012 13:43:15 +0000
parents 1b6270b00c91
children 7715324132bf
comparison
equal deleted inserted replaced
2530:1b6270b00c91 2531:180a500d7ddb
79 <xsl:attribute name="title"> 79 <xsl:attribute name="title">
80 <xsl:text>km </xsl:text> 80 <xsl:text>km </xsl:text>
81 <xsl:value-of select="@from"/> 81 <xsl:value-of select="@from"/>
82 <xsl:text> - </xsl:text> 82 <xsl:text> - </xsl:text>
83 <xsl:value-of select="@to"/> 83 <xsl:value-of select="@to"/>
84 <xsl:choose>
85 <xsl:when test="@class = '0'"> / Q &#8712; [0, (MNQ+MQ)/2) </xsl:when>
86 <xsl:when test="@class = '1'"> / Q &#8712; [(MNQ+MQ)/2, (MQ+MHQ)/2)</xsl:when>
87 <xsl:when test="@class = '2'"> / Q &#8712; [(MQ+MHQ)/2, HQ5)</xsl:when>
88 <xsl:when test="@class = '3'"> / Q &#8712; [HQ5, &#8734;)</xsl:when>
89 </xsl:choose>
84 </xsl:attribute> 90 </xsl:attribute>
85 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text> 91 <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
86 </div> 92 </div>
87 </xsl:template> 93 </xsl:template>
88 94

http://dive4elements.wald.intevation.org