Commit 0fdb6025 authored by Guillaume Porte's avatar Guillaume Porte 😶
Browse files

prise en compte d'éléments html dans le menu, décrits dans le fichier I18n.xml d'une édition

parent 4bbe7dbb
Loading
Loading
Loading
Loading
+14
Changes for ui/xsl/menu.xsl: 14 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -15,7 +15,14 @@
                            <xsl:attribute name="class">active</xsl:attribute>
                        </xsl:if>
                        <a href="{$baseURI}{$projectId}/{./target/text()}">
                            <xsl:choose>
                                <xsl:when test="./label/child::*">
                                    <xsl:copy-of select="./label/child::*"/>
                                </xsl:when>
                                <xsl:otherwise>
                                    <xsl:value-of select="./label/text()"/>
                                </xsl:otherwise>
                            </xsl:choose>
                        </a>
                    </li>
                </xsl:for-each>
@@ -30,7 +37,14 @@
                                    <xsl:attribute name="class">active</xsl:attribute>
                                </xsl:if>
                                <a href="{$baseURI}{$projectId}/{./target/text()}">
                                    <xsl:choose>
                                        <xsl:when test="./label/child::*">
                                            <xsl:copy-of select="./label/child::*"/>
                                        </xsl:when>
                                        <xsl:otherwise>
                                            <xsl:value-of select="./label/text()"/>
                                        </xsl:otherwise>
                                    </xsl:choose>
                                </a>
                            </li>
                        </xsl:for-each>