calendar: don't linkify event w/o <link/>
This commit is contained in:
parent
be6530b45f
commit
c1e75c7cb5
|
@ -114,11 +114,13 @@
|
|||
<li>
|
||||
<a>
|
||||
<!-- a/@href -->
|
||||
<xsl:if test="string-length(link) > 0">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:call-template name="make-href">
|
||||
<xsl:with-param name="href" select="link"/>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<!-- a/@title -->
|
||||
<xsl:if test="string-length(location) > 0">
|
||||
<xsl:attribute name="title">
|
||||
|
|
|
@ -232,7 +232,12 @@
|
|||
<xsl:with-param name="start" select="start"/>
|
||||
<xsl:with-param name="end" select="end"/>
|
||||
</xsl:call-template>:
|
||||
<a href="{$href}">
|
||||
<a>
|
||||
<xsl:if test="string-length($href) > 0">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="$href"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:if test="string-length(location) > 0">
|
||||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="concat('Ort: ', location)"/>
|
||||
|
|
Loading…
Reference in New Issue