Changeset 31596

Show
Ignore:
Timestamp:
10.04.2017 11:19:27 (2 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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>