Additional tag for Foundry for navigation-hierarchy for testing if a category has sublinks.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3856 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-02-12 13:52:17 +00:00
parent 71bd99c32e
commit 0545c2227d
1 changed files with 8 additions and 0 deletions

View File

@ -701,6 +701,14 @@
</xsl:template>
<xsl:template match="navigation-hierarchy//navigation-link//if-navigation-sublinks">
<xsl:param name="current-level-tree" tunnel="yes"/>
<xsl:if test="$current-level-tree/nav:category">
<xsl:apply-templates/>
</xsl:if>
</xsl:template>
<!-- Sitemap -->
<xsl:template match="nav-sitemap">
<xsl:apply-templates select="$data-tree/nav:categoryHierarchy"/>