- Timestamp:
- 2016-05-16T14:24:50+12:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/home.xsl
r30478 r30540 15 15 16 16 <!-- set page breadcrumbs --> 17 <xsl:template name="breadcrumbs"></xsl:template> 17 <xsl:template name="breadcrumbs"> 18 <xsl:if test="/page/pageRequest/paramList/param[@name='group']"> 19 <gslib:siteLink/> 20 </xsl:if> 21 </xsl:template> 18 22 19 23 <!-- the page content --> … … 26 30 <h2><gslib:selectACollectionTextBar/></h2> 27 31 28 <xsl:call-template name="collectionLinks"/> 29 32 <xsl:for-each select="collectionList/collection|groupList/group"> 33 <xsl:sort select="@position"/> 34 <xsl:if test="name() = 'collection'"> 35 <gslib:collectionLinkWithImage/> 36 </xsl:if> 37 <xsl:if test="name() = 'group'"> 38 <gslib:groupLinkWithImage/> 39 </xsl:if> 40 </xsl:for-each> 41 30 42 <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div> 31 43 … … 43 55 </xsl:template> 44 56 57 <xsl:template name="groupLinks"> 58 <div id="groupLinks"> 59 <!-- <xsl:if test="count(groupList/group) = 0"> 60 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/> 61 <br/> 62 </xsl:if> 63 --> 64 <xsl:for-each select="groupList/group"> 65 <gslib:groupLinkWithImage/> 66 </xsl:for-each> 67 <br class="clear"/> 68 </div> 69 </xsl:template> 70 45 71 <xsl:template name="collectionLinks"> 46 72 <div id="collectionLinks">
Note:
See TracChangeset
for help on using the changeset viewer.