Changeset 34446


Ignore:
Timestamp:
2020-10-13T13:48:04+13:00 (4 years ago)
Author:
davidb
Message:

About page desc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/atea/collect/digital-nz/etc/collectionConfig.xml

    r33166 r34446  
    1111    <displayItem name="name" lang="en">Digital NZ M&#x101;ori</displayItem>
    1212    <displayItem assigned="true" lang="en" name="description">
    13       The &lt;gsf:metaname name="numdocs"/&gt; records
    14       from Digital NZ in the M&#x101;ori language
     13      Records from Digital NZ tagged as l=ma in the M&#x101;ori language
    1514    </displayItem>
     15    <!--
    1616    <displayItem assigned="true" lang="en" name="shortDescription">
    1717      Records from Digital NZ in the M&#x101;ori language
    1818    </displayItem>
     19    -->
    1920<!--
    2021    <displayItem name="description" key="description" dictionary="collectionConfig"/>
    2122-->
     23<!--
    2224    <displayItem name="shortDescription" key="shortDescription" dictionary="collectionConfig"/>
     25-->
    2326  </displayItemList>
    2427
     
    2629    <!-- Define any global format statements here -->
    2730
     31    <xsl:template name="coll-description">
     32      <p>
     33    <gslib:collectionDescriptionTextAndServicesLinks/>
     34      </p>
     35      <xsl:variable name="raw_date">
     36    <gslib:collectionMeta name="buildDate"/>
     37      </xsl:variable>
     38      <xsl:variable name="formatted_date">
     39    <xsl:value-of select="util:formatTimeStamp($raw_date, 0, 3, /page/@lang)"/>
     40      </xsl:variable>
     41      <xsl:variable name="numdocs">
     42    <gslib:collectionMeta name="numDocs"/>
     43      </xsl:variable>
     44      <p>
     45    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.standarddescriptiondays', concat($numdocs, ';', $formatted_date))"/>
     46      </p>
     47    </xsl:template>
     48   
    2849    <!-- Setting the RSS option to true here will display a link to the collection's RSS feed on all
    2950     pages of the collection. Can include the RSS feed link in section specific format statements
Note: See TracChangeset for help on using the changeset viewer.