Changeset 37088


Ignore:
Timestamp:
2023-01-02T17:15:08+13:00 (5 weeks ago)
Author:
davidb
Message:

xsl-template for documentHeading moved to document.xsl to remove complication of it useing bookswitch. Having the template in collectionConfig.xml means that even document-iiif-manifest.xsl needs to know about the xsl-variable

Location:
gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/etc/collectionConfig.xml

    r37055 r37088  
    260260           <gsf:headMetaTags>
    261261             <gsf:metadata name="Title"/>
     262             <gsf:metadata name="HasGoogleVisionDocumentOCRJSON"/>
     263             <gsf:metadata name="GVDocumentOCRJSON"/>
     264             <gsf:metadata name="Image"/>
     265             
    262266           </gsf:headMetaTags>
    263267
     
    276280            </gsf:template>
    277281-->
    278             <xsl:template name="documentHeading">
    279                 <gsf:metadata hidden="true" name="HasGoogleVisionDocumentOCRJSON"/>
     282            <xsl:template name="documentHeadingOLD">
     283              <!--
     284                    <gsf:metadata hidden="true" name="HasGoogleVisionDocumentOCRJSON"/>
    280285                <gsf:metadata hidden="true" name="GVDocumentOCRJSON"/>
    281286                <gsf:metadata hidden="true" name="Image"/>
     287              -->
    282288                <!--
    283289                    **** currently needed to ensure ILT TOC gets Image (rather than Source) metadata ?????
    284290                -->
    285 
     291                <!--
    286292                <xsl:if test="$bookswitch != 'mirador'">
    287293                  <span style="font-weight:bold; font-size: 120%;">
     
    289295                  </span>
    290296                </xsl:if>
    291 
     297                -->
     298               
     299                <xsl:call-template name="choose-title"/>
    292300                <gsf:metadata-table>
    293301                    <gsf:metadata name="ex.im.No">Catalogue No:</gsf:metadata>
  • gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/transform/pages/document.xsl

    r37075 r37088  
    156156    <xsl:call-template name="wrappedSectionImage"/>
    157157    <xsl:call-template name="wrappedSectionTextForEditing"/>
     158  </xsl:template>
     159
     160  <xsl:template name="documentHeading">
     161    <xsl:if test="$bookswitch != 'mirador'">
     162      <span style="font-weight:bold; font-size: 120%;">
     163    <xsl:call-template name="choose-title"/>
     164      </span>
     165    </xsl:if>
     166
     167    <gsf:metadata-table>
     168      <gsf:metadata name="ex.im.No">Catalogue No:</gsf:metadata>
     169      <gsf:metadata name="ex.im.Work">Work:</gsf:metadata>
     170      <gsf:metadata name="ex.im.Artist">Artist(s):</gsf:metadata>
     171      <gsf:metadata name="ex.im.Venue">Venue:</gsf:metadata>
     172      <gsf:metadata name="ex.im.Composer">Composer:</gsf:metadata>
     173    </gsf:metadata-table>
     174
    158175  </xsl:template>
    159176
Note: See TracChangeset for help on using the changeset viewer.