calendar.xsl für Zeitangabe im title-attribute ergänzt

This commit is contained in:
vv01f 2014-02-08 00:01:28 +01:00
parent 6b68446f19
commit bf8aaefcf3
2 changed files with 1808 additions and 1812 deletions

View File

@ -1804,7 +1804,6 @@
<link>https://thedaywefightback.org/</link> <link>https://thedaywefightback.org/</link>
</event> </event>
<event title="Key Signing Party + Late Brunch (ab 17:00)"> <event title="Key Signing Party + Late Brunch (ab 17:00)">
<!-- Geht auch <time>2014-02-08T17:00:00+03:00</time> o.ä.? -->
<start>2014-02-08T17:00:00</start> <start>2014-02-08T17:00:00</start>
<end>2014-02-08T20:00:00</end> <end>2014-02-08T20:00:00</end>
<location>GCHQ, Lingnerallee 3</location> <location>GCHQ, Lingnerallee 3</location>

View File

@ -132,11 +132,8 @@
<xsl:if test="string-length(location) &gt; 0"> <xsl:if test="string-length(location) &gt; 0">
<xsl:attribute name="title"> <xsl:attribute name="title">
<xsl:value-of select="concat('Ort: ', location)"/> <xsl:value-of select="concat('Ort: ', location)"/>
<!-- Hier soll die Dauer bzw. Beginn/Ende ergänzt werden, bisher fehlt noch die humankompatible Formatierung --> <!-- Hier wurde die Zeit ergänzt -->
<!-- <xsl:value-of select="concat(' &#xA;Zeit: ', date:time(start), '&#160;-&#160;', date:time(end))"/>
<xsl:value-of select="concat('Beginn: ', start)"/>
<xsl:value-of select="concat('Ende: ', end)"/>
-->
</xsl:attribute> </xsl:attribute>
</xsl:if> </xsl:if>
<!-- string(a) --> <!-- string(a) -->