46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
xmlns:py="http://genshi.edgewall.org/"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:i18n="http://genshi.edgewall.org/i18n"
|
|
i18n:domain="tracrendezvous">
|
|
<xi:include href="layout.html" />
|
|
<xi:include href="event_display.html" />
|
|
<head>
|
|
<title>${title}</title>
|
|
</head>
|
|
<body>
|
|
<div id="content">
|
|
<py:choose test="">
|
|
<py:when test="table">
|
|
<h1>${title}</h1>
|
|
<h2>${title2}</h2>
|
|
<table class="upcoming">
|
|
<thead><tr><th py:for="h in headers">${h}</th></tr></thead>
|
|
<tfoot><tr><th py:for="h in headers"> </th></tr></tfoot>
|
|
<tbody>
|
|
<tr py:for="ix,row in enumerate(table)" class="upcoming">
|
|
<td class="daytext"><a href="${href.event('by-day', row[0].strftime('%Y-%m-%d'))}">${row[0].strftime(format)}</a></td>
|
|
<py:for each="eventlist in row[1:]">
|
|
<td py:if="eventlist != False" class="${isinstance(eventlist, list) and 'upcoming-event' or 'upcoming'}" rowspan="${eventlist.rowspan and eventlist.rowspan or None}">
|
|
<py:if test="eventlist != True">
|
|
<py:for each="event in eventlist">
|
|
${render_event(event, wiki_on=wiki_on)}
|
|
</py:for>
|
|
</py:if>
|
|
</td>
|
|
</py:for>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</py:when>
|
|
<py:otherwise>
|
|
<h2>${_("No events in this time frame. Create here")} <a href="${href.event('new', now.strftime('%Y-%m-%d'))}">${_(" a new event")}</a> !</h2>
|
|
</py:otherwise>
|
|
</py:choose>
|
|
</div>
|
|
</body>
|
|
</html>
|