Skip to content
Snippets Groups Projects
Commit ff5e2fa4 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

collection tree : house icon for root collection

parent ac4b8516
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,14 @@ ...@@ -33,7 +33,14 @@
<xsl:attribute name="href"> <xsl:attribute name="href">
<xsl:value-of select="concat('/bundles/max-db?collection=', preceding-sibling::label/@data-path)"></xsl:value-of> <xsl:value-of select="concat('/bundles/max-db?collection=', preceding-sibling::label/@data-path)"></xsl:value-of>
</xsl:attribute> </xsl:attribute>
<xsl:choose>
<xsl:when test="preceding-sibling::label/data() = '/'">
<sl-icon name="house"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="preceding-sibling::label/data()"/> <xsl:value-of select="preceding-sibling::label/data()"/>
</xsl:otherwise>
</xsl:choose>
</a> </a>
<xsl:apply-templates/> <xsl:apply-templates/>
</sl-tree-item> </sl-tree-item>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment