Changeset 36356


Ignore:
Timestamp:
2022-08-05T12:59:03+12:00 (8 days ago)
Author:
kjdon
Message:

use the new servlet_url_prefix instead of siteURL metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/wmtb/transform/layouts/header.xsl

    r36047 r36356  
    2626            <xsl:attribute name="href">
    2727                <xsl:choose>
    28                     <xsl:when test="/page/pageResponse/metadataList/metadata[@name = 'siteURL']">
     28                  <xsl:when test="$servlet_url_prefix">
     29                    <xsl:value-of select="$servlet_url_prefix"/>
     30                  </xsl:when>
     31                  <!-- keep for backwards compatibility -->
     32                  <xsl:when test="/page/pageResponse/metadataList/metadata[@name = 'siteURL']">
    2933                        <xsl:value-of select="/page/pageResponse/metadataList/metadata[@name = 'siteURL']"/>
    3034                    </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.