59 lines
2.2 KiB
XML
59 lines
2.2 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="plone">
|
|
|
|
<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 class="deputies-and-others">
|
|
<dl class="enableFormTabbing" id="deputies-tabs">
|
|
<div tal:omit-tag="" tal:repeat="item python: [x for x in context.values() if x.portal_type == 'Document' and x.exclude_from_nav()]">
|
|
<dt tal:attributes="id string:fieldsetlegend-${item/id}" tal:content="item/Title">title</dt>
|
|
<dd tal:attributes="id string:fieldset-${item/id}">
|
|
<div tal:replace="structure item/getText"/>
|
|
</dd>
|
|
</div>
|
|
|
|
<dt id="fieldsetlegend-parlementaires">Parlementaires</dt>
|
|
<dd id="fiedset-parlementaires">
|
|
<input name="fieldset.current" type="hidden" value="#fieldset-parlementaires"/>
|
|
<div tal:replace="structure view/renderDeputyListForm"/>
|
|
|
|
<a href="parlementaires.csv" id="export-results" class="button">Exporter la liste des parlementaires</a>
|
|
|
|
</dd>
|
|
|
|
<dt id="fieldsetlegend-photographies">Répertoire photographique</dt>
|
|
<dd id="fieldset-photographies">
|
|
<tal:block tal:repeat="entry view/sortedDeputies">
|
|
<div tal:condition="entry/picture">
|
|
<a tal:attributes="href entry/absolute_url"><img
|
|
tal:attributes="src string:${entry/id}/photo"/>
|
|
<span tal:content="entry/Title"/>
|
|
</a>
|
|
</div>
|
|
</tal:block>
|
|
<br style="clear: both;"/>
|
|
</dd>
|
|
|
|
</dl>
|
|
</div>
|
|
|
|
<div tal:replace="structure provider:plone.belowcontentbody" />
|
|
|
|
</tal:main-macro>
|
|
</metal:main>
|
|
|
|
</body>
|
|
</html>
|