compléter rdf_edit.pt
This commit is contained in:
@@ -177,25 +177,27 @@
|
||||
<div id="panel-documents" class="panel-collapse collapse">
|
||||
<div class="panel-body">
|
||||
<p>
|
||||
<a class="btn btn-success" role="button" href="${request.route_url('rdf_edit', nodossier=nodossier)}">
|
||||
<a class="btn btn-success" role="button" href="${request.route_url('rdf_edit', nodossier=nodossier, date_inter='new')}">
|
||||
<span class="glyphicon glyphicon-plus"></span> Nouvelle recherche</a>
|
||||
</p>
|
||||
<table class="table table-bordered table-condensed" tal:condition="rapport">
|
||||
<table class="table table-bordered table-condensed" tal:condition="rapports">
|
||||
<tr>
|
||||
<th>Numéro</th>
|
||||
<th>Date</th>
|
||||
<th>Date Interv.</th>
|
||||
<th>Date Rapport</th>
|
||||
<th>Chantier</th>
|
||||
<th>No sinistre</th>
|
||||
<th>Modif le</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr tal:repeat="rapport rapports">
|
||||
<td>
|
||||
<a href="/rdf_edit/${nodossier}">${rapport.nochantier}</a>
|
||||
</td>
|
||||
<td>${rapport.DATE.strftime('%d-%m-%Y')}</td>
|
||||
<a href="/rdf_edit/${nodossier}/${rapport.date_inter.strftime('%Y-%m-%d')}">
|
||||
${rapport.date_inter.strftime('%d-%m-%Y')}</a>
|
||||
</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>
|
||||
<td>${rapport.modif_le.strftime('%d-%m-%Y')}</td>
|
||||
<td>${rapport.modif_le.strftime('%d-%m-%Y')} - ${rapport.auteur_code}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user