2011-10-02 13:42:25 +02:00
|
|
|
|
<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.searchform">
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<metal:main fill-slot="main">
|
|
|
|
|
<tal:main-macro metal:define-macro="main">
|
2011-11-07 10:27:51 +01:00
|
|
|
|
<tal:block tal:define="Batch python:modules['Products.CMFPlone'].Batch;
|
|
|
|
|
mq python:modules['ZTUtils'].make_query;
|
|
|
|
|
url batch_base_url | request/ACTUAL_URL;
|
|
|
|
|
batchformkeys batchformkeys|nothing;
|
|
|
|
|
b_size python:10; b_size request/b_size | b_size;
|
|
|
|
|
b_start python:0;b_start request/b_start | b_start;">
|
2011-10-02 13:42:25 +02:00
|
|
|
|
|
|
|
|
|
<div tal:replace="structure provider:plone.abovecontenttitle" />
|
|
|
|
|
<h1 class="documentFirstHeading" tal:content="context/title" />
|
|
|
|
|
<div tal:replace="structure provider:plone.belowcontenttitle" />
|
|
|
|
|
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<dl class="enableFormTabbing" id="search-tabs">
|
|
|
|
|
<dt id="fieldsetlegend-documents">Documents parlementaires</dt>
|
|
|
|
|
<dd id="fieldset-documents">
|
2011-11-20 20:18:21 +01:00
|
|
|
|
<form method="post" action="./#resultsbox">
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<div tal:replace="structure view/document_search_form"/>
|
2011-11-20 20:18:21 +01:00
|
|
|
|
</form>
|
2011-11-05 12:16:21 +01:00
|
|
|
|
|
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div id="documents-results"
|
|
|
|
|
tal:define="search_results view/document_search_results;
|
2011-11-16 17:31:48 +01:00
|
|
|
|
search_batch python:Batch(list(search_results or []), b_size, int(b_start), orphan=1);"
|
2011-11-05 18:55:40 +01:00
|
|
|
|
tal:condition="python: search_results is not None">
|
2011-11-05 12:16:21 +01:00
|
|
|
|
|
|
|
|
|
<div id="resultsbox">
|
|
|
|
|
<span>Nombre de résultats : <span tal:replace="python: len(search_results)"/></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div class="results-var">
|
2011-11-05 12:16:21 +01:00
|
|
|
|
<div id="results">
|
|
|
|
|
<ul>
|
|
|
|
|
<tal:entry tal:repeat="item search_batch">
|
|
|
|
|
<li tal:define="oddrow repeat/item/odd; object python: item.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
|
|
|
|
<h4><a href="#" tal:attributes="href item/getURL" tal:content="python: object.reftitle">Véronique Salvi</a></h4>
|
|
|
|
|
<p class="intitule" tal:content="item/Title"/>
|
|
|
|
|
<p class="authors" tal:condition="python: object.authors">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" tal:condition="python: object.authors" /></p>
|
|
|
|
|
</div></li>
|
|
|
|
|
</tal:entry>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-07 10:27:51 +01:00
|
|
|
|
<div tal:define="batch search_batch">
|
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/navigation" />
|
2011-11-15 09:39:15 +01:00
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/feed" />
|
2011-11-23 10:51:13 +01:00
|
|
|
|
</div>
|
2011-11-07 10:27:51 +01:00
|
|
|
|
</div>
|
2011-11-05 12:16:21 +01:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-10-03 14:21:24 +02:00
|
|
|
|
</dd>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
<dt id="fieldsetlegend-dossiers">Dossiers parlementaires</dt>
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<dd id="fieldset-dossiers">
|
2011-11-20 20:18:21 +01:00
|
|
|
|
<form method="post" action="./#resultsbox">
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<div tal:replace="structure view/dossier_search_form"/>
|
2011-11-20 20:18:21 +01:00
|
|
|
|
</form>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div id="dossiers-results"
|
|
|
|
|
tal:define="search_results view/dossier_search_results;
|
2011-11-16 17:31:48 +01:00
|
|
|
|
search_batch python:Batch(list(search_results or []), b_size, int(b_start), orphan=1);"
|
2011-11-05 18:55:40 +01:00
|
|
|
|
tal:condition="python: search_results is not None">
|
|
|
|
|
|
|
|
|
|
<input name="fieldset.current" type="hidden" value="#fieldset-dossiers"/>
|
|
|
|
|
<div id="resultsbox">
|
|
|
|
|
<span>Nombre de résultats : <span tal:replace="python: len(search_results)"/></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div class="results-var">
|
2011-11-05 18:55:40 +01:00
|
|
|
|
<div id="results">
|
|
|
|
|
<ul>
|
|
|
|
|
<tal:entry tal:repeat="item search_batch">
|
|
|
|
|
<li tal:define="oddrow repeat/item/odd; object python: item.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
|
|
|
|
<h4><a href="#" tal:attributes="href item/getURL" tal:content="python: object.reftitle">Véronique Salvi</a></h4>
|
|
|
|
|
<p class="intitule" tal:content="item/Title"/>
|
|
|
|
|
<p class="authors" tal:condition="python: object.authors">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" tal:condition="python: object.authors" /></p>
|
|
|
|
|
</div></li>
|
|
|
|
|
</tal:entry>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-07 10:27:51 +01:00
|
|
|
|
<div tal:define="batch search_batch">
|
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/navigation" />
|
2011-11-15 09:39:15 +01:00
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/feed" />
|
2011-11-23 10:51:13 +01:00
|
|
|
|
</div>
|
2011-11-07 10:27:51 +01:00
|
|
|
|
</div>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-10-03 14:21:24 +02:00
|
|
|
|
</dd>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
<dt id="fieldsetlegend-questions">Questions & interpellations</dt>
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<dd id="fieldset-questions">
|
2011-11-20 20:18:21 +01:00
|
|
|
|
<form method="post" action="./#resultsbox">
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<div tal:replace="structure view/question_search_form"/>
|
2011-11-20 20:18:21 +01:00
|
|
|
|
</form>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div id="questions-results"
|
|
|
|
|
tal:define="search_results view/question_search_results;
|
2011-11-16 17:31:48 +01:00
|
|
|
|
search_batch python:Batch(list(search_results or []), b_size, int(b_start), orphan=1);"
|
2011-11-05 18:55:40 +01:00
|
|
|
|
tal:condition="python: search_results is not None">
|
|
|
|
|
|
|
|
|
|
<input name="fieldset.current" type="hidden" value="#fieldset-questions"/>
|
|
|
|
|
<div id="resultsbox">
|
|
|
|
|
<span>Nombre de résultats : <span tal:replace="python: len(search_results)"/></span>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<div class="results-var">
|
2011-11-05 18:55:40 +01:00
|
|
|
|
<div id="results">
|
|
|
|
|
<ul>
|
|
|
|
|
<tal:entry tal:repeat="item search_batch">
|
|
|
|
|
<li tal:define="oddrow repeat/item/odd; object python: item.getObject()" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
|
|
|
|
<h4><a href="#" tal:attributes="href item/getURL" tal:content="python: object.reftitle">Véronique Salvi</a></h4>
|
|
|
|
|
<p class="intitule" tal:content="item/Title"/>
|
|
|
|
|
<p class="authors" tal:condition="python: object.authors">Auteur(s) : <span tal:replace="python: object.get_authors_as_string()" tal:condition="python: object.authors" /></p>
|
|
|
|
|
</div></li>
|
|
|
|
|
</tal:entry>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-11-07 10:27:51 +01:00
|
|
|
|
<div tal:define="batch search_batch">
|
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/navigation" />
|
2011-11-15 09:39:15 +01:00
|
|
|
|
<div metal:use-macro="view/batch_macros/macros/feed" />
|
2011-11-23 10:51:13 +01:00
|
|
|
|
</div>
|
2011-11-07 10:27:51 +01:00
|
|
|
|
</div>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
2011-10-03 14:21:24 +02:00
|
|
|
|
</dd>
|
2011-11-05 18:55:40 +01:00
|
|
|
|
<dt id="fieldsetlegend-decrets">Décrets</dt>
|
2011-10-03 14:21:24 +02:00
|
|
|
|
<dd id="fieldset-decrets">
|
2011-11-21 13:57:09 +01:00
|
|
|
|
|
|
|
|
|
<h2>Année de sanction et de promulgation <span tal:replace="view/decrets_year"/></h2>
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
<li tal:repeat="year view/decrets_years">
|
|
|
|
|
<a tal:attributes="href string:./?year=${year}#fieldset-decrets"
|
|
|
|
|
tal:content="year">2010</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table>
|
|
|
|
|
<thead>
|
|
|
|
|
<tr><th rowspan="2">Document</th>
|
|
|
|
|
<th rowspan="2">Intitulé</th>
|
|
|
|
|
<th colspan="3">Date</th>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><th>Adoption</th>
|
|
|
|
|
<th>Sanction</th>
|
|
|
|
|
<th>Moniteur</th></tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<tal:block tal:repeat="item view/decrets">
|
|
|
|
|
<tr tal:define="object item/getObject">
|
|
|
|
|
<td><a tal:attributes="href item/getURL" tal:content="object/reftitle"></a></td>
|
|
|
|
|
<td><span tal:replace="item/Title">title</span></td>
|
|
|
|
|
<td><span tal:condition="object/adoption_date" tal:replace="object/adoption_date_str"/></td>
|
|
|
|
|
<td><span tal:condition="object/date" tal:replace="object/date_str"/></td>
|
|
|
|
|
<td><span tal:condition="object/moniteur_date" tal:replace="object/moniteur_date_str"/></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tal:block>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
|
2011-10-03 14:21:24 +02:00
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
2011-10-02 13:42:25 +02:00
|
|
|
|
|
|
|
|
|
<div tal:replace="structure provider:plone.belowcontentbody" />
|
|
|
|
|
|
2011-11-20 18:25:55 +01:00
|
|
|
|
<script type="text/javascript" tal:content="string: var PORTAL_URL='${view/portal_url}';"/>
|
2011-11-23 10:51:13 +01:00
|
|
|
|
<script metal:use-macro="view/js_macros/macros/labelboxes"></script>
|
2011-11-06 21:22:52 +01:00
|
|
|
|
|
2011-11-07 10:27:51 +01:00
|
|
|
|
</tal:block>
|
2011-10-02 13:42:25 +02:00
|
|
|
|
</tal:main-macro>
|
|
|
|
|
</metal:main>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|