[gnome-doc-utils/mallard: 43/87] Use status as header for version div



commit dc07965a113cd70d0be253b6d7ade21d5069fbd3
Author: Shaun McCance <shaunm gnome org>
Date:   Thu Nov 13 16:27:30 2008 -0600

    Use status as header for version div
---
 xslt/mallard/html/mal2html-page.xsl |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index a68cd1a..8352136 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -345,13 +345,7 @@ REMARK: Describe this template
         </xsl:attribute>
         <div class="version">
           <!-- FIXME: i18n -->
-          <div class="title">Version Information</div>
-          <p class="version">
-            <xsl:text>Version </xsl:text>
-            <xsl:value-of select="$version/@number"/>
-            <xsl:text> on </xsl:text>
-            <xsl:value-of select="$version/@date"/>
-            <xsl:text> (</xsl:text>
+          <div class="title">
             <xsl:choose>
               <xsl:when test="$version/@status = 'stub'">
                 <xsl:text>Stub</xsl:text>
@@ -369,7 +363,12 @@ REMARK: Describe this template
                 <xsl:text>Final</xsl:text>
               </xsl:when>
             </xsl:choose>
-            <xsl:text>)</xsl:text>
+          </div>
+          <p class="version">
+            <xsl:text>Version </xsl:text>
+            <xsl:value-of select="$version/@number"/>
+            <xsl:text> on </xsl:text>
+            <xsl:value-of select="$version/@date"/>
           </p>
           <xsl:apply-templates mode="mal2html.block.mode" select="$version/*"/>
         </div>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]