Events in die Calendar-Tage
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@541 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
parent
04ef134d88
commit
0f1d30ad23
|
@ -37,7 +37,7 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</title>
|
</title>
|
||||||
<date><xsl:value-of select="start"/></date>
|
<date><xsl:value-of select="start"/></date>
|
||||||
<location><xsl:value-of select="start"/></location>
|
<location><xsl:value-of select="location"/></location>
|
||||||
<!-- TODO: Link -->
|
<!-- TODO: Link -->
|
||||||
</event>
|
</event>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
|
@ -70,6 +70,14 @@
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:value-of select="date:day-in-month($date)"/>
|
<xsl:value-of select="date:day-in-month($date)"/>
|
||||||
|
<ul>
|
||||||
|
<xsl:for-each select="event">
|
||||||
|
<xsl:sort select="date"/>
|
||||||
|
<xsl:if test="concat(date:year($date),'-',date:month-in-year($date),'-',date:day-in-month($date)) = concat(date:year(date),'-',date:month-in-year(date),'-',date:day-in-month(date))">
|
||||||
|
<li><xsl:value-of select="title"/></li>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
<xsl:if test="date:day-in-week($date) != 1"> <!-- Sunday? Break and return to output-week... -->
|
<xsl:if test="date:day-in-week($date) != 1"> <!-- Sunday? Break and return to output-week... -->
|
||||||
<xsl:call-template name="output-day">
|
<xsl:call-template name="output-day">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user