xsl/datenspuren: include-pentabarf-schedule generates <h4>event title

[02:13:32] <john> kann man das hinbekommen, das im fahrplan um die titel der veranstaltungen, nicht aber um die speaker ein <h4> </h4> kommt?
[02:13:50] <john> dafür dann im css die normalschrift auf nicht fett...
[02:13:55] <john> das wär cool
[02:14:16] <john> und besser für blinde ...
This commit is contained in:
Astro 2012-10-02 03:22:52 +02:00
parent af7b9dba3e
commit b1d15226f3
2 changed files with 8 additions and 3 deletions

View File

@ -248,6 +248,9 @@ table.schedule {
border-radius: 8pt;
padding: 0.5em 1em;
}
.schedule h4 {
margin: 0;
}
.schedule ul {
padding: 0;
margin: 1em 0;

View File

@ -202,9 +202,11 @@
<xsl:otherwise>
<!-- Event -->
<xsl:attribute name="class">event</xsl:attribute>
<a class="event" href="{x:p[@class='title']/x:a/@href}">
<xsl:value-of select="x:p[@class='title']"/>
</a>
<h4>
<a class="event" href="{x:p[@class='title']/x:a/@href}">
<xsl:value-of select="x:p[@class='title']"/>
</a>
</h4>
<xsl:if test="x:ul[@class='speakers']/x:li/x:a">
<ul>
<xsl:for-each select="x:ul[@class='speakers']/x:li/x:a">