summaryrefslogtreecommitdiffstats
path: root/tabellio/searchform/docsearch.pt
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@0d.be>2011-11-21 12:57:09 (GMT)
committerFrédéric Péters <fpeters@0d.be>2011-11-21 12:57:09 (GMT)
commita5866fc8b832a0f59d0df05b464fc232441828b9 (patch)
tree50d71c1e9ec094a25be59c8c8e9b072a66ef6f5d /tabellio/searchform/docsearch.pt
parent462d782a62dfa739a25aede48fc07527266687b2 (diff)
downloadtabellio.searchform-a5866fc8b832a0f59d0df05b464fc232441828b9.zip
tabellio.searchform-a5866fc8b832a0f59d0df05b464fc232441828b9.tar.gz
tabellio.searchform-a5866fc8b832a0f59d0df05b464fc232441828b9.tar.bz2
add decrets panel (#944)
Diffstat (limited to 'tabellio/searchform/docsearch.pt')
-rw-r--r--tabellio/searchform/docsearch.pt34
1 files changed, 34 insertions, 0 deletions
diff --git a/tabellio/searchform/docsearch.pt b/tabellio/searchform/docsearch.pt
index 17f4ccb..b684e8d 100644
--- a/tabellio/searchform/docsearch.pt
+++ b/tabellio/searchform/docsearch.pt
@@ -128,6 +128,40 @@
</dd>
<dt id="fieldsetlegend-decrets">Décrets</dt>
<dd id="fieldset-decrets">
+
+ <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>
+
</dd>
</dl>