Fixed Foundry colorsets
git-svn-id: https://svn.libreccm.org/ccm/trunk@3062 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
a89ac0edb0
commit
a7d6c2a638
|
|
@ -218,7 +218,7 @@
|
|||
</foundry:doc-attribute>
|
||||
<foundry:doc-attribute name="with-colorset" mandatory="no">
|
||||
<p>
|
||||
Decides if the navigation elements get colorset classes. Default value is
|
||||
Decides if the navigation elements gets colorset classes. Default value is
|
||||
<code>false</code>
|
||||
</p>
|
||||
</foundry:doc-attribute>
|
||||
|
|
@ -402,14 +402,12 @@
|
|||
</xsl:with-param>
|
||||
<xsl:with-param name="link-label" select="./@title" tunnel="yes"/>
|
||||
<xsl:with-param name="class">
|
||||
<xsl:choose>
|
||||
<xsl:when test="./@isSelected = 'true'">
|
||||
<xsl:if test="./@isSelected = 'true'">
|
||||
<xsl:value-of select="'active'"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="''"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:if>
|
||||
<xsl:if test="$current-level = 2 and $with-colorset = true()">
|
||||
<xsl:value-of select="concat(' colorset-', position())"/>
|
||||
</xsl:if>
|
||||
</xsl:with-param>
|
||||
</xsl:apply-templates>
|
||||
</xsl:for-each>
|
||||
|
|
|
|||
Loading…
Reference in New Issue