From 2ca0fcf4f7ceec30b722fec4e6e4bb2a63c0d92d Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 6 Mar 2012 19:06:38 +0100 Subject: [PATCH] xsl/calendar-summary: skip events older than 1 year should speed up build process by much --- xsl/calendar-summary.xsl | 64 +++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/xsl/calendar-summary.xsl b/xsl/calendar-summary.xsl index 3535b5c15..231540dc8 100644 --- a/xsl/calendar-summary.xsl +++ b/xsl/calendar-summary.xsl @@ -29,36 +29,40 @@ - - - <xsl:choose> - <xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when> - <xsl:when test="../@title"><xsl:value-of select="../@title"/></xsl:when> - <xsl:otherwise> - <xsl:message terminate="yes">Event with no title!</xsl:message> - </xsl:otherwise> - </xsl:choose> - - - - - - - - - - - - - - - - - - - - - + + + + + + <xsl:choose> + <xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when> + <xsl:when test="../@title"><xsl:value-of select="../@title"/></xsl:when> + <xsl:otherwise> + <xsl:message terminate="yes">Event with no title!</xsl:message> + </xsl:otherwise> + </xsl:choose> + + + + + + + + + + + + + + + + + + + + + +