include references to page numbers in questions

This commit is contained in:
Frédéric Péters 2012-01-09 11:28:02 +01:00
parent 57958bc597
commit c6681d5f63
1 changed files with 12 additions and 6 deletions

View File

@ -39,15 +39,21 @@
<div tal:condition="context/histolines">
<h3>Chronologie</h3>
<table>
<table id="chronologie">
<tr tal:repeat="histoline context/histolines">
<td tal:content="histoline/date_str">18 octobre 2010</td>
<td><p tal:condition="python: hasattr(histoline, 'comment')" tal:content="histoline/comment">comment</p>
<p tal:condition="histoline/authors" tal:content="histoline/authors_str"/>
<tal:block tal:condition="histoline/date">
<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">Auteurs : <span tal:replace="structure histoline/authors_html_str"/></p>
</td>
<td><a tal:condition="python: histoline.document and histoline.document.to_object" tal:attributes="href
<td class="chronodoc"><a tal:condition="python: histoline.document and histoline.document.to_object" tal:attributes="href
histoline/document/to_object/absolute_url"
tal:content="histoline/document/to_object/reftitle">doc</a></td>
tal:content="histoline/document/to_object/reftitle">doc</a>
<span tal:condition="histoline/doc_pages">-
<a href="" tal:attributes="href histoline/doc_pages_url">page <span tal:replace="histoline/doc_pages">1</span></a>
</span>
</td>
</tal:block>
</tr>
</table>
</div>