Changeset 36506 for main/trunk
- Timestamp:
- 2022-08-26T12:25:53+12:00 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/expand-gsf.xsl
r36294 r36506 678 678 </xsl:template> 679 679 680 <xsl:template match="gsf:metadata-table"> 681 <table class="metadataTable"> 682 <tbody> 683 <xsl:for-each select="gsf:metadata"> 684 <tr> 685 <td> 686 <xsl:choose> 687 <xsl:when test="./displayItem"> 688 <xslt:variable name="di_list"><di_list><xsl:copy-of select="./displayItem"/></di_list></xslt:variable> 689 <xslt:value-of select="util:getCollectionDisplayItemText($di_list, /page/@lang, $site_name, $collName )"/> 690 </xsl:when> 691 <!-- just copy out the text content--> 692 <xsl:otherwise> 693 <xsl:value-of select="."/> 694 </xsl:otherwise> 695 </xsl:choose> 696 </td> 697 <td> 698 <xsl:choose> 699 <xsl:when test="./content"><xsl:copy-of select="./content"/></xsl:when> 700 <xsl:otherwise> 701 <i><xsl:copy-of select="."/></i> 702 </xsl:otherwise> 703 </xsl:choose> 704 </td> 705 </tr> 706 </xsl:for-each> 707 708 </tbody> 709 </table> 710 </xsl:template> 711 680 712 <xsl:template match="gsf:text"> 681 713 <xsl:variable name="force">
Note:
See TracChangeset
for help on using the changeset viewer.