Whamcloud - gitweb
LUDOC-104 meta: support lustre versions thru 2.9. 53/9053/2
authorRichard Henwood <richard.henwood@intel.com>
Wed, 29 Jan 2014 17:39:20 +0000 (11:39 -0600)
committerRichard Henwood <richard.henwood@intel.com>
Wed, 29 Jan 2014 17:44:21 +0000 (17:44 +0000)
Decoration for lustre version through to version 2.9 is now supported.

Change-Id: Iaf801fc561a74f29e68b64161dadf36ce71e70ed
Signed-off-by: Richard Henwood <richard.henwood@intel.com>
Reviewed-on: http://review.whamcloud.com/9053
Tested-by: Jenkins
style/customstyle.xsl

index 0ff1926..95e10a8 100644 (file)
                                <xsl:with-param name='chunkid' select="$id"/>
                        </xsl:call-template>
                </xsl:when>
+               <xsl:when test="@condition = 'l26'">
+                       <xsl:call-template name='textdecoration_1'>
+                               <xsl:with-param name='version' select="'introduced in Lustre 2.6'"/>
+                               <xsl:with-param name='chunkid' select="$id"/>
+                       </xsl:call-template>
+               </xsl:when>
+               <xsl:when test="@condition = 'l27'">
+                       <xsl:call-template name='textdecoration_1'>
+                               <xsl:with-param name='version' select="'introduced in Lustre 2.7'"/>
+                               <xsl:with-param name='chunkid' select="$id"/>
+                       </xsl:call-template>
+               </xsl:when>
+               <xsl:when test="@condition = 'l28'">
+                       <xsl:call-template name='textdecoration_1'>
+                               <xsl:with-param name='version' select="'introduced in Lustre 2.8'"/>
+                               <xsl:with-param name='chunkid' select="$id"/>
+                       </xsl:call-template>
+               </xsl:when>
+               <xsl:when test="@condition = 'l29'">
+                       <xsl:call-template name='textdecoration_1'>
+                               <xsl:with-param name='version' select="'introduced in Lustre 2.9'"/>
+                               <xsl:with-param name='chunkid' select="$id"/>
+                       </xsl:call-template>
+               </xsl:when>
                <xsl:otherwise>
                        <xsl:call-template name='textdecoration_1'>
                                <xsl:with-param name='version' select="'unrecognised Lustre version'"/>
        <xsl:if test="@condition='l25'">
                <span class='floatright'>L 2.5 </span>
        </xsl:if>
+       <xsl:if test="@condition='l26'">
+               <span class='floatright'>L 2.6 </span>
+       </xsl:if>
+       <xsl:if test="@condition='l27'">
+               <span class='floatright'>L 2.7 </span>
+       </xsl:if>
+       <xsl:if test="@condition='l28'">
+               <span class='floatright'>L 2.8 </span>
+       </xsl:if>
+       <xsl:if test="@condition='l29'">
+               <span class='floatright'>L 2.9 </span>
+       </xsl:if>
 </xsl:template>
 
 </xsl:stylesheet>