library-web r441 - in trunk: . data/xslt
- From: fpeters svn gnome org
- To: svn-commits-list gnome org
- Subject: library-web r441 - in trunk: . data/xslt
- Date: Tue, 6 May 2008 08:54:35 +0100 (BST)
Author: fpeters
Date: Tue May 6 07:54:35 2008
New Revision: 441
URL: http://svn.gnome.org/viewvc/library-web?rev=441&view=rev
Log:
* data/xslt/indexes.xsl: fixed pointers to single-page documents.
(closes: #531243)
Modified:
trunk/ChangeLog
trunk/data/xslt/indexes.xsl
Modified: trunk/data/xslt/indexes.xsl
==============================================================================
--- trunk/data/xslt/indexes.xsl (original)
+++ trunk/data/xslt/indexes.xsl Tue May 6 07:54:35 2008
@@ -212,6 +212,7 @@
<xsl:param name="lang"/>
<xsl:if test="concat('/', @channel, '/', @modulename, '/') != @path">
<!-- don't write document index if the document is not versioned -->
+ <xsl:variable name="modulename" select="@modulename"/>
<xsl:if test="$libgo.debug">
<xsl:message>Writing <xsl:value-of
@@ -274,7 +275,7 @@
<ul class="versions">
<xsl:for-each select="versions/version">
<li>
- <a href="{ href}/{ modulename}" lang="{ lang}"><xsl:value-of select="."/></a>
+ <a href="{ href}/{$modulename}.html" lang="{ lang}"><xsl:value-of select="."/></a>
<xsl:if test="@keyword = 'unstable'">
(<xsl:call-template name="gettext"><xsl:with-param name="lang"
select="$lang"/><xsl:with-param name="msgid"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]