Changeset 36635


Ignore:
Timestamp:
2022-09-20T10:42:10+12:00 (11 days ago)
Author:
kjdon
Message:

use the new gslib template to output groups in breadcrumbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/about.xsl

    r33636 r36635  
    1616
    1717    <!-- set page breadcrumbs -->
    18     <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/>
    19     <xsl:if test="$groupPath != ''">
    20       <xsl:for-each select="/page/pageResponse/pathList/group">
    21         <xsl:sort data-type="number" select="@position"/>
    22           <a>
    23         <xsl:attribute name="href"><gslib:groupHref path="{@path}"/></xsl:attribute>               
    24         <xsl:attribute name="title"><gslib:groupName path="{@path}"/></xsl:attribute>
    25         <gslib:groupName path="{@path}"/>
    26           </a>
    27           <gslib:rightArrow/>
    28       </xsl:for-each>
    29     </xsl:if>
     18    <xsl:template name="breadcrumbs">
     19          <gslib:siteLink/>
     20          <gslib:rightArrow/>
     21          <gslib:groupLinks/>
    3022    </xsl:template>
    3123
Note: See TracChangeset for help on using the changeset viewer.