summaryrefslogtreecommitdiffstats
path: root/xsl/main-html.xsl
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2005-09-04 14:50:25 +0000
committerPaul W. Frields <stickster@gmail.com>2005-09-04 14:50:25 +0000
commit746f7f20a741379583ec1089dfd8ee51efcccdf5 (patch)
tree0a150e4ee9d1b502d298e82390cd16f57ae243b2 /xsl/main-html.xsl
parent58dc906453b34bd49d7d767ba9824168da719fc6 (diff)
downloadfedora-doc-utils-746f7f20a741379583ec1089dfd8ee51efcccdf5.tar.gz
fedora-doc-utils-746f7f20a741379583ec1089dfd8ee51efcccdf5.tar.xz
fedora-doc-utils-746f7f20a741379583ec1089dfd8ee51efcccdf5.zip
Readability changes, add title to revhistory page summary
Diffstat (limited to 'xsl/main-html.xsl')
-rw-r--r--xsl/main-html.xsl63
1 files changed, 32 insertions, 31 deletions
diff --git a/xsl/main-html.xsl b/xsl/main-html.xsl
index 863c8b7..5a420c9 100644
--- a/xsl/main-html.xsl
+++ b/xsl/main-html.xsl
@@ -37,16 +37,17 @@ sect5 nop
section nop
</xsl:param>
-<xsl:template match="revhistory"><!-- mode="titlepage.mode">-->
+<xsl:template match="revhistory">
<xsl:variable name="numcols">
<xsl:choose>
<xsl:when test="//authorinitials">3</xsl:when>
<xsl:otherwise>2</xsl:otherwise>
</xsl:choose>
</xsl:variable>
+ <xsl:variable name="doctitle" select="//title"/>
<div class="{name(.)}">
- <table border="1" width="100%" summary="Revision history">
+ <table border="1" width="100%" summary="Revision history - {$doctitle}">
<tr>
<th align="left" valign="top" colspan="{$numcols}">
<b>
@@ -105,35 +106,35 @@ section nop
<xsl:template match="revhistory" mode="titlepage.mode">
<xsl:variable name="id">revhistory</xsl:variable>
- <xsl:variable name="filename">
- <xsl:call-template name="make-relative-filename">
- <xsl:with-param name="base.dir" select="$base.dir"/>
- <xsl:with-param name="base.name" select="concat('rv-',$id,$html.ext)"/>
- </xsl:call-template>
- </xsl:variable>
-
- <a href="{concat('rv-',$id,$html.ext)}">Revision History</a>
-
- <xsl:call-template name="write.chunk">
- <xsl:with-param name="filename" select="$filename"/>
- <xsl:with-param name="quiet" select="$chunk.quietly"/>
- <xsl:with-param name="content">
- <xsl:call-template name="user.preroot"/>
- <html>
- <head>
- <xsl:call-template name="system.head.content"/>
- <xsl:call-template name="head.content"/>
- <xsl:call-template name="user.head.content"/>
- </head>
- <body>
- <xsl:call-template name="body.attributes"/>
- <div class="{local-name(.)}">
- <xsl:apply-templates select="."/>
- </div>
- </body>
- </html>
- </xsl:with-param>
- </xsl:call-template>
+ <xsl:variable name="filename">
+ <xsl:call-template name="make-relative-filename">
+ <xsl:with-param name="base.dir" select="$base.dir"/>
+ <xsl:with-param name="base.name" select="concat('rv-',$id,$html.ext)"/>
+ </xsl:call-template>
+ </xsl:variable>
+
+ <a href="{concat('rv-',$id,$html.ext)}">Revision History</a>
+
+ <xsl:call-template name="write.chunk">
+ <xsl:with-param name="filename" select="$filename"/>
+ <xsl:with-param name="quiet" select="$chunk.quietly"/>
+ <xsl:with-param name="content">
+ <xsl:call-template name="user.preroot"/>
+ <html>
+ <head>
+ <xsl:call-template name="system.head.content"/>
+ <xsl:call-template name="head.content"/>
+ <xsl:call-template name="user.head.content"/>
+ </head>
+ <body>
+ <xsl:call-template name="body.attributes"/>
+ <div class="{local-name(.)}">
+ <xsl:apply-templates select="."/>
+ </div>
+ </body>
+ </html>
+ </xsl:with-param>
+ </xsl:call-template>
</xsl:template>