Browse Source

try to make events descending by date

tags/stw2018
Max Mehl 10 months 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 @@
29 29
     </xsl:element>
30 30
   </xsl:template>
31 31
   
32
-  <!--display dynamic list of newsletters items-->
32
+  <!--display dynamic list of event items-->
33 33
   <xsl:template name="tagged-events" match="tagged-events">
34 34
     <xsl:element name="ul">
35 35
       <xsl:attribute name="class">tag list</xsl:attribute>
36 36
 
37 37
       <!-- loop through all events having this tag -->
38 38
       <xsl:for-each select="/buildinfo/document/set/event">
39
-
39
+        <xsl:sort select="@date" order="descending" />
40 40
         <xsl:element name="li">
41 41
           <span class="newsdate">[<xsl:value-of select="@start" />]</span>
42 42
           <xsl:element name="a">

Loading…
Cancel
Save