complete the dossier page

This commit is contained in:
Frédéric Péters 2011-11-07 14:10:52 +01:00
parent f9a15707be
commit 4413f6c2c7
1 changed files with 18 additions and 5 deletions

View File

@ -53,15 +53,28 @@
</ul>
</div>
<div tal:define="docs context/associated_docs" tal:condition="docs">
<h2>Documents associés</h2>
<table id="associated-docs">
<tr tal:repeat="doc docs">
<td class="docref"><a tal:attributes="href doc/absolute_url"><span tal:replace="doc/no"/> (<span tal:replace="doc/session"/>)
<span tal:condition="doc/nodoc">N<sup>o</sup> <span
tal:replace="doc/nodoc"/></span></a></td>
<td class="doctitle"><span tal:replace="doc/Title"></span></td>
<td class="docdate"><span tal:replace="doc/date_str"></span></td>
</tr>
</table>
</div>
<div tal:condition="context/histolines">
Chronologie
<table>
<h2>Chronologie</h2>
<table id="chronologie">
<tr tal:repeat="histoline context/histolines">
<td tal:content="histoline/date_str">18 octobre 2010</td>
<td><p tal:content="histoline/title">title</p>
<td class="chronodate" tal:content="histoline/date_str">18 octobre 2010</td>
<td class="chronocomment"><p tal:content="histoline/comment">comment</p>
<p tal:condition="histoline/authors" tal:content="histoline/authors_str"/>
</td>
<td><a tal:condition="histoline/document" tal:attributes="href
<td class="chronodoc"><a tal:condition="histoline/document" tal:attributes="href
histoline/document/to_object/absolute_url"
tal:content="histoline/document/to_object/reftitle">doc</a></td>
</tr>