diff 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
line wrap: on
line diff
--- a/flys-client/src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl	Wed May 16 13:02:44 2012 +0000
+++ b/flys-client/src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl	Wed May 16 13:43:15 2012 +0000
@@ -81,6 +81,12 @@
         <xsl:value-of select="@from"/>
         <xsl:text> - </xsl:text>
         <xsl:value-of select="@to"/>
+        <xsl:choose>
+          <xsl:when test="@class = '0'"> / Q &#8712; [0, (MNQ+MQ)/2) </xsl:when>
+          <xsl:when test="@class = '1'"> / Q &#8712; [(MNQ+MQ)/2, (MQ+MHQ)/2)</xsl:when>
+          <xsl:when test="@class = '2'"> / Q &#8712; [(MQ+MHQ)/2, HQ5)</xsl:when>
+          <xsl:when test="@class = '3'"> / Q &#8712; [HQ5, &#8734;)</xsl:when>
+        </xsl:choose>
       </xsl:attribute>
       <xsl:text disable-output-escaping="yes"><![CDATA[&nbsp;]]></xsl:text>
     </div>

http://dive4elements.wald.intevation.org