111 lines
4.3 KiB
XML
111 lines
4.3 KiB
XML
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"
|
|
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="fr"
|
|
metal:use-macro="context/main_template/macros/master"
|
|
i18n:domain="tabellio.pcfviews">
|
|
<body>
|
|
|
|
<metal:main fill-slot="main">
|
|
<tal:main-macro metal:define-macro="main">
|
|
|
|
<div tal:replace="structure provider:plone.abovecontenttitle" />
|
|
<h1 metal:use-macro="context/kss_generic_macros/macros/generic_title_view">Title</h1>
|
|
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
|
|
|
<div tal:replace="structure provider:plone.abovecontentbody" />
|
|
|
|
<div id="composition-commission">
|
|
<h2>Composition</h2>
|
|
|
|
<h3 tal:condition="context/president">Président(e)</h3>
|
|
|
|
<div tal:condition="context/president" class="commission-people-group" tal:repeat="polgroup view/presidence_polgroups">
|
|
<span tal:attributes="class string:polgroup polgroup-${polgroup/getId}"
|
|
tal:content="polgroup/Title"/>
|
|
<ul>
|
|
<li tal:repeat="member python: view.presidence_members(polgroup)"><a
|
|
tal:attributes="href member/absolute_url"
|
|
tal:content="member/Title">member</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div tal:condition="context/vicepresidents">
|
|
<h3>Vice Président(e)s</h3>
|
|
|
|
<div class="commission-people-group" tal:repeat="polgroup view/vicepresidence_polgroups">
|
|
<span tal:attributes="class string:polgroup polgroup-${polgroup/getId}"
|
|
tal:content="polgroup/Title"/>
|
|
<ul>
|
|
<li tal:repeat="member python: view.vicepresidence_members(polgroup)"><a
|
|
tal:attributes="href member/absolute_url"
|
|
tal:content="member/Title">member</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div tal:condition="context/members">
|
|
<h3>Membres effectifs/ves</h3>
|
|
|
|
<div class="commission-people-group" tal:repeat="polgroup view/members_polgroups">
|
|
<span tal:attributes="class string:polgroup polgroup-${polgroup/getId}"
|
|
tal:content="polgroup/Title"/>
|
|
<ul>
|
|
<li tal:repeat="member python: view.members_members(polgroup)"><a
|
|
tal:attributes="href member/absolute_url"
|
|
tal:content="member/Title">member</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div tal:condition="context/substitutes">
|
|
<h3>Membres suppléant(e)s</h3>
|
|
|
|
<div class="commission-people-group" tal:repeat="polgroup view/substitutes_polgroups">
|
|
<span tal:attributes="class string:polgroup polgroup-${polgroup/getId}"
|
|
tal:content="polgroup/Title"/>
|
|
<ul>
|
|
<li tal:repeat="member python: view.substitutes_members(polgroup)"><a
|
|
tal:attributes="href member/absolute_url"
|
|
tal:content="member/Title">member</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="competences-commission" tal:condition="context/competences">
|
|
<h2>Compétences</h2>
|
|
<ul>
|
|
<li tal:repeat="item context/competences" tal:content="item">item</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div tal:condition="context/ministries">
|
|
<h3 tal:condition="python: len(context.ministries) == 1">Ministre compétent :</h3>
|
|
<h3 tal:condition="python: len(context.ministries) > 1">Ministres compétents :</h3>
|
|
<ul>
|
|
<li tal:repeat="item context/ministries" tal:content="item/to_object/Title">item</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div id="commissions-secretariat" tal:condition="context/secretariat">
|
|
<h2>Secrétariat administratif</h2>
|
|
<div tal:replace="structure context/secretariat/output"/>
|
|
</div>
|
|
|
|
<div id="commissions-reunions" tal:define="meetings view/get_meetings" tal:condition="meetings">
|
|
<h2>Dernières réunions</h2>
|
|
<ul>
|
|
<li tal:repeat="item meetings"><a tal:attributes="href item/getURL" tal:content="python: '%s - %s' % (item.getObject().shortdatetime, item.getObject().start_hour())">...</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div tal:replace="structure provider:plone.belowcontentbody" />
|
|
|
|
</tal:main-macro>
|
|
</metal:main>
|
|
|
|
</body>
|
|
</html>
|