Changeset 30842


Ignore:
Timestamp:
2016-09-22T12:15:20+12:00 (5 years ago)
Author:
kjdon
Message:

at site and colleciton level, displayItems are now in a displayItemList, to match metadataList

File:
1 edited

Legend:

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

    r30740 r30842  
    2121 
    2222        <xsl:choose>
    23             <xsl:when test="$this-element/displayItem[@name='icon']">
     23            <xsl:when test="$this-element/displayItemList/displayItem[@name='icon']">
    2424              <img border="0">
    25                 <xsl:attribute name="src"><xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItem[@name='icon']"/></xsl:attribute>
     25                <xsl:attribute name="src"><xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItemList/displayItem[@name='icon']"/></xsl:attribute>
    2626                <xsl:attribute name="alt">
    27                   <xsl:value-of select="$this-element/displayItem[@name='name']"/>
     27                  <xsl:value-of select="$this-element/displayItemList/displayItem[@name='name']"/>
    2828                </xsl:attribute>
    2929                <xsl:attribute name="title">
Note: See TracChangeset for help on using the changeset viewer.