Changeset 32625

Show
Ignore:
Timestamp:
23.11.2018 13:56:56 (3 weeks ago)
Author:
kjdon
Message:

added in a documentNode template as it didn't have one. This meant if you deleted the one in collectionConfig.xml, then all hell broke loose

Files:
1 modified

Legend:

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

    r32302 r32625  
    158158        </xsl:if> 
    159159    </xsl:template> 
     160 
     161    <!-- this usually gets overriden in collectionConfig.xml --> 
     162    <gsf:template match="documentNode"> 
     163      <td valign="top"> 
     164        <gsf:link type="document"> 
     165          <gsf:icon type="document"/> 
     166        </gsf:link> 
     167      </td> 
     168      <td> 
     169        <gsf:link type="document"> 
     170          <xsl:call-template name="choose-title"/> 
     171        </gsf:link> 
     172      </td> 
     173    </gsf:template> 
    160174 
    161175    <xsl:template name="highlightSnippet">