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-94f89814c4dfmaster
parent
71bd99c32e
commit
0545c2227d
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue