Foundry: Named colorsets classes are now also added to the navigation
git-svn-id: https://svn.libreccm.org/ccm/trunk@4142 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
ec174f2043
commit
e691c1ba0d
|
|
@ -466,7 +466,7 @@
|
||||||
<xsl:value-of select="'active'"/>
|
<xsl:value-of select="'active'"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="$current-level = 2 and $with-colorset = true()">
|
<xsl:if test="$current-level = 2 and $with-colorset = true()">
|
||||||
<xsl:value-of select="concat(' colorset-', position())"/>
|
<xsl:value-of select="concat(' colorset-', position(), ' ', 'colorset-', translate(lower-case(@name), ' ', '-'))"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
|
|
@ -506,7 +506,7 @@
|
||||||
<xsl:value-of select="'active'"/>
|
<xsl:value-of select="'active'"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="$current-level = 2 and $with-colorset = true()">
|
<xsl:if test="$current-level = 2 and $with-colorset = true()">
|
||||||
<xsl:value-of select="concat(' colorset-', position())"/>
|
<xsl:value-of select="concat(' colorset-', position(), ' ', 'colorset-', translate(lower-case(@name), ' ', '-'))"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
<xsl:with-param name="id" select="concat('id-', ./@id)"/>
|
<xsl:with-param name="id" select="concat('id-', ./@id)"/>
|
||||||
|
|
@ -690,7 +690,7 @@
|
||||||
<xsl:value-of select="'active'"/>
|
<xsl:value-of select="'active'"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<xsl:if test="$current-level = 1 and $with-colorset = true()">
|
<xsl:if test="$current-level = 1 and $with-colorset = true()">
|
||||||
<xsl:value-of select="concat(' colorset-', position())"/>
|
<xsl:value-of select="concat(' colorset-', position(), ' ', 'colorset-', translate(lower-case(@name), ' ', '-'))"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
<xsl:with-param name="id" select="concat('id-', ./@id)"/>
|
<xsl:with-param name="id" select="concat('id-', ./@id)"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue