[library-web] handle the case where @single is not set
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] handle the case where @single is not set
- Date: Thu, 7 Apr 2011 08:53:31 +0000 (UTC)
commit d63f10653c81b0c1383a369114bc421429198b79
Author: Frédéric Péters <fpeters 0d be>
Date: Thu Apr 7 14:23:02 2011 +0530
handle the case where @single is not set
data/xslt/dev_indexes.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/xslt/dev_indexes.xsl b/data/xslt/dev_indexes.xsl
index 013ee09..9c07ca9 100644
--- a/data/xslt/dev_indexes.xsl
+++ b/data/xslt/dev_indexes.xsl
@@ -263,7 +263,7 @@ $lang]"/>
</xsl:if>
</xsl:template>
-<xsl:template match="document[ path != '' and @single != 'true']" mode="modindex">
+<xsl:template match="document[ path != '' and (not(@single) or @single != 'true')]" mode="modindex">
<xsl:param name="lang"/>
<xsl:if test="concat('/', @channel, '/', @modulename, '/') != @path">
<!-- don't write document index if the document is not versioned -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]