Changeset 32625


Ignore:
Timestamp:
2018-11-23T13:56:56+13:00 (5 years 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

File:
1 edited

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">
Note: See TracChangeset for help on using the changeset viewer.