Commit d46540d6 authored by Jérôme Chauveau's avatar Jérôme Chauveau
Browse files

maj breadcrumb pour n'afficher que le premier titre du fragment courant.

parent 139d61be
Loading
Loading
Loading
Loading
+1 −5
Changes for plugins/breadcrumb/_breadcrumb.xsl: 1 added line, 5 removed lines.
Original line number Diff line number Diff line
@@ -5,14 +5,10 @@

    <xsl:template match="/">
        <span class="fragmentTitle">
            <xsl:apply-templates select=".//*:head"/>
            <xsl:apply-templates select="(.//*:head)[1]"/>
        </span>
    </xsl:template>

<!--    <xsl:template match="*:head">-->
<!--        <xsl:value-of select=".//text()"/>-->
<!--    </xsl:template>-->

    <xsl:template match="*:head">
        <xsl:if test="preceding-sibling::*:head"><xsl:text> </xsl:text></xsl:if><xsl:apply-templates />
     </xsl:template>
+1 −8
Changes for plugins/breadcrumb/breadcrumb.css: 1 added line, 8 removed lines.
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
    content: "";
}

.fragmentTitle {
.fragmentTitle, .currentPart {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
@@ -37,13 +37,6 @@ max-width: 350px;
    text-overflow: '[...]';
}

.currentPart{
    display :inline-block;
    white-space: nowrap;
    overflow: hidden;
    max-width: 350px;
    text-overflow: '[...]';
}


#breadcrumb .max-doc-title:hover:after{