Ignore:
Timestamp:
2017-04-10T11:19:27+12:00 (5 years ago)
Author:
kjdon
Message:

added code to put in source link+icon/thumb img

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/siteConfig.xml

    r31595 r31596  
    3434    <gsf:template match="documentNode">
    3535      <xsl:variable name="collname" select="@collection"/>
     36      <td><gsf:if-metadata-exists><gsf:metadata name="srclinkFile"/><gsf:if><a><xsl:attribute name='href'>sites/localsite/collect/<xsl:value-of select='@collection'/>/index/assoc/<gsf:metadata name="assocfilepath"/>/<gsf:metadata name="srclinkFile"/></xsl:attribute><gsf:choose-metadata><gsf:metadata name="thumbicon"/><gsf:metadata name="srcicon"/></gsf:choose-metadata></a></gsf:if></gsf:if-metadata-exists></td>
    3637      <td><a><xsl:attribute name='href'><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select='@collection'/>/document/<xsl:value-of select='@nodeID'/></xsl:attribute><gsf:icon/></a></td>
    3738      <td><gsf:metadata name='Title'/></td>
Note: See TracChangeset for help on using the changeset viewer.