Changeset 26389 for main

Show
Ignore:
Timestamp:
25.10.2012 13:28:58 (7 years ago)
Author:
kjdon
Message:

abstract and commentary links on doc page now dependent on whether there actually are abstracts and commentaries

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols/niupepa/etc/collectionConfig.xml

    r26351 r26389  
    296296 
    297297<gsf:template name="topLevelSectionContent"> 
    298 <div style="text-align:right;"><gsf:link type="document" OIDmetadata="abstract" titlekey="abstract.linktitle"><gsf:icon file="iabstr.gif" select="collection"/><gsf:collectionText name="abstract"/></gsf:link>, <gsf:link type="document" OIDmetadata="commentary" titlekey="commentary.linktitle"><gsf:icon file="icomm.gif" select="collection"/><gsf:collectionText name="commentary"/></gsf:link></div> 
     298<div style="text-align:right;"><gsf:if-metadata-exists><gsf:metadata name="abstract"/><gsf:if><gsf:link type="document" OIDmetadata="abstract" titlekey="abstract.linktitle"><gsf:icon file="iabstr.gif" select="collection"/><gsf:collectionText name="abstract"/></gsf:link></gsf:if></gsf:if-metadata-exists><gsf:if-metadata-exists><gsf:metadata name="commentary"/><gsf:if><gsf:link type="document" OIDmetadata="commentary" titlekey="commentary.linktitle"><gsf:icon file="icomm.gif" select="collection"/><gsf:collectionText name="commentary"/></gsf:link></gsf:if></gsf:if-metadata-exists></div> 
    299299</gsf:template> 
    300300