xsl/calendar.xsl: event location in a/@title
This commit is contained in:
parent
8151f2d940
commit
80fb0fe475
|
@ -105,14 +105,22 @@
|
|||
|
||||
<xsl:if test="(date:seconds($start) <= date:seconds($date))
|
||||
and (date:seconds($date) <= date:seconds($end))">
|
||||
<xsl:variable name="href">
|
||||
<xsl:call-template name="make-href">
|
||||
<xsl:with-param name="href" select="link"/>
|
||||
</xsl:call-template>
|
||||
</xsl:variable>
|
||||
|
||||
<li>
|
||||
<a href="{$href}">
|
||||
<a>
|
||||
<!-- a/@href -->
|
||||
<xsl:attribute name="href">
|
||||
<xsl:call-template name="make-href">
|
||||
<xsl:with-param name="href" select="link"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
<!-- a/@title -->
|
||||
<xsl:if test="string-length(location) > 0">
|
||||
<xsl:attribute name="title">
|
||||
<xsl:text>Ort: </xsl:text>
|
||||
<xsl:value-of select="string(location)"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<!-- string(a) -->
|
||||
<xsl:value-of select="title"/>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue