This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.pcfviews/tabellio/pcfviews/parlevent_templates/view.pt

64 lines
2.8 KiB
XML

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
lang="en"
metal:use-macro="context/main_template/macros/master"
i18n:domain="tabellio.agenda">
<body>
<metal:main fill-slot="main">
<tal:main-macro metal:define-macro="main"
tal:define="toLocalizedTime nocall:context/@@plone/toLocalizedTime">
<div tal:replace="structure provider:plone.abovecontenttitle" />
<h1 class="documentFirstHeading"><span tal:content="context/aq_parent/Title"/></h1>
<div tal:replace="structure provider:plone.belowcontenttitle" />
<div class="blocdate">
<a href="#" class="previous" tal:attributes="href view/previous_event_url"></a>
<div class="date">
<span class="day" tal:content="context/start/day">30</span>
<span class="month" tal:content="context/start_month">mars</span>
<a href="." class="open-calendar" tal:attributes="href string:./?navyear=${context/start/year}&navmonth=${context/start/month}">Ouvrir le calendrier</a>
</div>
<a href="#" class="next" tal:attributes="href view/next_event_url"></a>
</div>
<h1 class="parlevent-title"><span tal:content="context/title">title</span><br/><span tal:content="string: (${context/session})">(2011-2012)</span></h1>
<p tal:condition="context/multidays">
Jusqu'au <span tal:replace="context/longenddate"/>
</p>
<p tal:condition="context/start_hour">
<span class="parlevent-start" tal:content="string: ${context/start_hour}">14h00</span>
<span tal:condition="context/end"> -
<span class="parlevent-end" tal:content="string: ${context/end_hour}">16h00</span>
</span>
</p>
<p class="place" tal:content="context/place">
</p>
<ul id="cri-stream">
<li><a href="#" class="cri" tal:condition="python: context.cri and context.cri.to_object"
tal:attributes="href context/cri/to_object/absolute_url">Compte-rendu intégral</a>
<span class="cri" tal:condition="python: not(context.cri and context.cri.to_object)">Compte-rendu intégral (non disponible)</span></li>
<li><a tal:attributes="href string:${context/absolute_url}/seance.m3u" class="streaming" tal:condition="view/has_stream">Streaming</a>
<span class="streaming" tal:condition="not: view/has_stream">Streaming (non disponible)</span></li>
</ul>
<div class="order-of-the-day" tal:condition="context/order_of_the_day">
<h2>Ordre du jour</h2>
<div tal:content="structure context/order_of_the_day/output"/>
</div>
<div tal:replace="structure provider:plone.belowcontentbody" />
</tal:main-macro>
</metal:main>
</body>
</html>