Some fixes for the object list and for the quicklinks

git-svn-id: https://svn.libreccm.org/ccm/trunk@3100 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2015-01-22 13:53:01 +00:00
parent 0bc22dee1f
commit 7e03201ac6
2 changed files with 6 additions and 4 deletions

View File

@ -453,7 +453,7 @@
<xsl:template match="nav-quicklinks">
<xsl:if test="count($data-tree/nav:quickLinks/nav:quickLink) &gt; 1">
<xsl:if test="count($data-tree/nav:quickLinks/nav:quickLink) &gt;= 1">
<xsl:apply-templates/>
</xsl:if>

View File

@ -60,11 +60,13 @@
</xsl:choose>
</xsl:variable>
<xsl:apply-templates>
<xsl:with-param name="object-list-datatree"
<xsl:if test="count($object-list-datatree/nav:objectList/nav:item) &gt;= 1">
<xsl:apply-templates>
<xsl:with-param name="object-list-datatree"
tunnel="yes"
select="$object-list-datatree"/>
</xsl:apply-templates>
</xsl:apply-templates>
</xsl:if>
</xsl:if>
</xsl:template>