display starting time for events with css :before
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b1a8856861
commit
45e4aba4d5
|
@ -524,6 +524,7 @@ table.calendar tr td {
|
|||
background: #eee;
|
||||
padding: .5em
|
||||
}
|
||||
.calendar a[data-before]:before{content:attr(data-before)" ";}
|
||||
|
||||
/* styling active location.href.hash */
|
||||
table.calendar tr td:target{
|
||||
|
|
|
@ -155,6 +155,8 @@
|
|||
</xs:sequence>
|
||||
<xs:attribute name="href" type="xs:anyURI" use="optional"/>
|
||||
<xs:attribute name="class" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="data-before" type="xs:string" use="optional"/>
|
||||
<xs:attribute name="data-after" type="xs:string" use="optional"/>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
<xsl:otherwise>3</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:attribute>
|
||||
<!-- vv01f: added id to jump to a specific date with links and hashtag liek {$month}-{$day} //-->
|
||||
<!-- vv01f: added id to jump to a specific date with links and hashtag like {$month}-{$day} //-->
|
||||
<xsl:attribute name="id">
|
||||
<xsl:value-of select="concat('eventday-', date:month-in-year($date), '-', date:day-in-month($date))"/>
|
||||
</xsl:attribute>
|
||||
|
@ -145,6 +145,20 @@
|
|||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<!-- vv01f: add time for easier display of start time
|
||||
<xsl:if test="data-before"/>
|
||||
-->
|
||||
<xsl:attribute name="data-before">
|
||||
<xsl:value-of select="substring(date:time(start),1,5)"/>
|
||||
</xsl:attribute>
|
||||
<!--
|
||||
<xsl:if test="data-after"/>
|
||||
<xsl:attribute name="data-after">
|
||||
<xsl:value-of select=""/>
|
||||
</xsl:attribute>
|
||||
-->
|
||||
|
||||
<!-- a/@title -->
|
||||
<xsl:attribute name="title">
|
||||
<xsl:if test="string-length(location) > 0">
|
||||
|
@ -152,7 +166,7 @@
|
|||
</xsl:if>
|
||||
<!-- sometimes things dont have a place to happen
|
||||
<xsl:if test="string-length(location) = 0">
|
||||
<xsl:value-of select="concat('Ort: ', 'GCHQ, Lingnerallee 3, 01069 Dresden')"/>
|
||||
<xsl:value-of select="concat('Ort: ', 'GCHQ, Riesaer Straße 32, 01127 Dresden')"/>
|
||||
</xsl:if>
|
||||
-->
|
||||
<xsl:if test="string-length(date:time(start)) > 0 or string-length(date:time(end)) > 0">
|
||||
|
|
Loading…
Reference in New Issue