xsl/calendar table: move discordian holiday to cell top

This commit is contained in:
Astro 2012-02-27 01:02:13 +01:00
parent fd2623de40
commit 1a30ef8a2b
1 changed files with 7 additions and 7 deletions

View File

@ -90,6 +90,13 @@
</span>
<ul>
<xsl:variable name="dholiday">
<xsl:call-template name="ddate-holiday">
<xsl:with-param name="date" select="$date"/>
</xsl:call-template>
</xsl:variable>
<li><xsl:value-of select="normalize-space($dholiday)"/></li>
<xsl:for-each select="event">
<xsl:sort select="start"/>
@ -134,13 +141,6 @@
</xsl:if>
</xsl:for-each>
<xsl:variable name="dholiday">
<xsl:call-template name="ddate-holiday">
<xsl:with-param name="date" select="$date"/>
</xsl:call-template>
</xsl:variable>
<li><xsl:value-of select="normalize-space($dholiday)"/></li>
</ul>
</td>
<xsl:if test="date:day-in-week($date) != 1"> <!-- Sunday? Break and return to output-week... -->