- Timestamp:
- 2020-09-10T14:25:55+12:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/showcase/transform/pages/home.xsl
r31661 r34333 10 10 <!-- the custom list of collections --> 11 11 <xsl:template name="collectionAndGroupLinks"> 12 <xsl:choose> 13 <xsl:when test="$groupPath != ''"> 14 <!-- we are in a group, just use the default template--> 15 <xsl:for-each select="collectionList/collection|groupList/group"> 16 <xsl:sort data-type="number" select="@position"/> 17 <xsl:if test="name() = 'collection'"> 18 <gslib:collectionLinkWithImage/> 19 </xsl:if> 20 <xsl:if test="name() = 'group'"> 21 <gslib:groupLinkWithImage/> 22 </xsl:if> 23 </xsl:for-each> 24 25 </xsl:when> 26 <xsl:otherwise> 12 27 <div id="collectionLinks"> 13 28 <xsl:if test="count(collectionList/collection) = 0"> … … 15 30 <br/> 16 31 </xsl:if> 17 <p>These collections demonstrate different aspects of Greenstone3. Click on a collection to see itsdescription.</p>32 <p>These collections demonstrate different aspects of Greenstone3. Hover over the icon to see a short description, or click on it to visit the collection and see its full description.</p> 18 33 <xsl:for-each select="collectionList/collection[@name = 'paradise-gardens']"> 19 34 <gslib:collectionLinkWithImage/> … … 32 47 </xsl:for-each> 33 48 <br class="clear"/> 34 <p>The next collections all use a different indexing tool, but otherwise have the same content. Do some searches to see the what the different tools offer.</p> 49 <p>The following icon represents a group of collections. They all use a different indexing tool, but otherwise have the same content. Click on the icon to visit the group. </p> 50 <xsl:for-each select="groupList/group[@name = 'idemo']"> 51 <gslib:groupLinkWithImage/> 52 </xsl:for-each> 35 53 <xsl:for-each select="collectionList/collection[@name = 'lucene-jdbm-demo']"> 36 54 <gslib:collectionLinkWithImage/> … … 47 65 <br class="clear"/> 48 66 </div> 67 </xsl:otherwise> 68 </xsl:choose> 49 69 </xsl:template> 50 70
Note:
See TracChangeset
for help on using the changeset viewer.