ajout de rdf_view.pt

This commit is contained in:
2019-03-16 15:53:44 +01:00
parent 58755c979d
commit fbbb087fb9
9 changed files with 562 additions and 16 deletions

View File

@@ -182,18 +182,19 @@
</p>
<table class="table table-bordered table-condensed" tal:condition="rapports">
<tr>
<th>Date Interv.</th>
<th>Date Rapport</th>
<th>No rapport</th>
<th>Date interv.</th>
<th>Date rapport</th>
<th>Chantier</th>
<th>No sinistre</th>
<th>Modif le</th>
</tr>
<tr tal:repeat="rapport rapports">
<td>
<a href="/rdf_edit/${nodossier}/${rapport.date_inter.strftime('%Y-%m-%d')}">
${rapport.date_inter.strftime('%d-%m-%Y')}</a>
<a href="/rdf_view/${rapport.no_id}">${rapport.no_id}</a>
</td>
<td tal:condition="rapport.date_rapport">${rapport.date_rapport.strftime('%d-%m-%Y')}</td>
<td>${rapport.date_inter.strftime('%Y-%m-%d')}</td>
<td tal:condition="rapport.date_rapport">${rapport.date_rapport.strftime('%d-%m-%Y')}</td>
<td tal:condition="not rapport.date_rapport"></td>
<td>${rapport.C_QUALITE} ${rapport.C_NOM}</td>
<td>${rapport.NOSIN}</td>