Show
Ignore:
Timestamp:
09.10.2012 09:47:17 (7 years ago)
Author:
sjm84
Message:

Adding the date to the document title

Files:
1 modified

Legend:

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

    r26283 r26295  
    259259--> 
    260260 
    261 <gsf:template name="documentHeading"> 
    262 <span style="font-weight:bold; font-size: 120%;"> 
    263 <xsl:call-template name="title-plain"/> 
    264 </span> 
    265 <gsf:switch> 
    266 <gsf:metadata name="DocType"/> 
    267 <gsf:when test="equals" test-value="Abstract"> 
    268 <gsf:collectionText name="abstract"/> 
    269 </gsf:when> 
    270 </gsf:switch> 
    271 </gsf:template> 
     261            <gsf:template name="documentHeading"> 
     262                <span style="font-weight:bold; font-size: 120%;"> 
     263                    <xsl:call-template name="title-plain"/> 
     264                </span> 
     265                <gsf:switch> 
     266                    <gsf:metadata name="DocType"/> 
     267                    <gsf:when test="equals" test-value="Abstract"> 
     268                        <gsf:collectionText name="abstract"/> 
     269                    </gsf:when> 
     270                </gsf:switch> 
     271            </gsf:template> 
    272272<!-- 
    273273Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing. 
     
    284284            <gsf:template name="sectionHeading"> 
    285285                <xsl:call-template name="title-plain"/> 
    286             </gsf:template> 
     286                <gsf:metadata name="Date" format="formatDate"/> 
     287            </gsf:template> 
     288 
    287289            <gsf:template name="pageTitle"> 
    288290                <xsl:for-each select="/page/pageResponse/document/documentNode"> 
    289291                    <xsl:call-template name="title-plain"/> 
     292                    <gsf:metadata name="Date" format="formatDate"/> 
    290293                </xsl:for-each> 
    291294            </gsf:template>