Changeset 24127

Show
Ignore:
Timestamp:
08.06.2011 17:01:01 (8 years ago)
Author:
ak19
Message:

Added in the lines processing the gsf:link for source metadata in new GS3 skin (oran skin, dev servlet), something which was already done for the the old default skin and was committed with revision 24087.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/config_format.xsl

    r24115 r24127  
    5151                </a> 
    5252            </xsl:when> 
     53            <xsl:when test="@type='source'"> 
     54                <a><xslt:attribute name='href'><xslt:value-of  
     55                   disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />/index/assoc/<xslt:value-of  
     56                   disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']" />/<xslt:value-of  
     57                   disable-output-escaping="yes" select="metadataList/metadata[@name='Source']" /></xslt:attribute> 
     58                  <xsl:apply-templates/> 
     59                </a> 
     60            </xsl:when> 
     61             
    5362            <xsl:otherwise> <!-- a document link --> 
    5463                <xslt:variable name="bookswitch">