Browse Source

try to make events descending by date

tags/stw2018
Max Mehl 1 year ago
parent
commit
695c4d43af
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tags/default.xsl

+ 2
- 2
tags/default.xsl View File

@@ -29,14 +29,14 @@
</xsl:element>
</xsl:template>
<!--display dynamic list of newsletters items-->
<!--display dynamic list of event items-->
<xsl:template name="tagged-events" match="tagged-events">
<xsl:element name="ul">
<xsl:attribute name="class">tag list</xsl:attribute>

<!-- loop through all events having this tag -->
<xsl:for-each select="/buildinfo/document/set/event">
<xsl:sort select="@date" order="descending" />
<xsl:element name="li">
<span class="newsdate">[<xsl:value-of select="@start" />]</span>
<xsl:element name="a">

Loading…
Cancel
Save