[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdoctools/customization
From: Daniel Naber <daniel.naber () t-online ! de>
Date: 2004-02-22 12:38:36
Message-ID: 20040222123836.1F9D39672 () office ! kde ! org
[Download RAW message or body]
CVS commit by dnaber:
port the recent layout improvements to docs.kde.org
M +14 -10 kde-ttlpg-online.xsl 1.2
--- kdelibs/kdoctools/customization/kde-ttlpg-online.xsl #1.1:1.2
@@ -3,5 +3,4 @@
<xsl:template match="releaseinfo" mode="titlepage.mode">
- <br/>
<xsl:call-template name="gentext">
<xsl:with-param name="key">revision</xsl:with-param>
@@ -10,14 +9,22 @@
<span class="{name(.)}">
<xsl:apply-templates mode="titlepage.mode"/>
- <br/>
+ <xsl:text> (</xsl:text>
+ <xsl:apply-templates mode="titlepage.mode" select="../date"/>
+ <xsl:text>)</xsl:text>
</span>
</xsl:template>
<xsl:template match="author" mode="titlepage.mode">
- <h3 class="{name(.)}"><!--Documentation by--> <!-- to internationalise -->
+ <p class="{name(.)}"><!--Documentation by--> <!-- to internationalise -->
<xsl:call-template name="person.name"/>
<xsl:text> </xsl:text>
<xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
- </h3>
+ </p>
+</xsl:template>
+
+<xsl:template match="date" mode="titlepage.mode">
+ <span class="{name(.)}">
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </span>
</xsl:template>
@@ -43,8 +50,6 @@
</xsl:template>
-<!-- other things to be added: add date phrase: Last updated -->
-
<xsl:template match="othercredit" mode="titlepage.mode">
- <p class="{name(.)}">
+ <span class="{name(.)}">
<xsl:choose>
<xsl:when test="./contrib">
@@ -58,8 +63,7 @@
</xsl:choose>
<xsl:text>: </xsl:text>
- <a><!-- removed the name="./@id" attribute: it was wrong and I don't understand \
what it's supposed to do --> <xsl:call-template name="person.name"/>
- </a>
- </p>
+ <br />
+ </span>
</xsl:template>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic