]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/correccion/templates/entregas.kid
Mejorar listado de casos de prueba.
[software/sercom.git] / sercom / subcontrollers / correccion / templates / entregas.kid
index 876324f287edc9d8ffb51d7148827e327309a71f..9992e2d3e6faddcada25b121fa2a039e027b4ecc 100644 (file)
 
 <table class="list">
     <tr>
-                               <th>Fecha</th>
-        <th>Correcta?</th>
-        <th>Observaciones</th>
-        <th>Tareas</th>
+                               <th width="20%">Fecha</th>
+        <th width="5%" title="Correcta?">Ok?</th>
+        <th width="25%">Observaciones</th>
+        <th width="50%">Comandos Ejecutadas</th>
+        <th width="10%">Operaciones</th>
     </tr>
     <tr py:for="record in records">
         <td><span py:replace="record.fecha">usuario</span></td>
-        <td><span py:replace="record.correcta">fecha asignado</span></td>
+                               <td align="center">
+                                       <span py:replace="tg.strbool(record.exito)">Si</span>
+                               </td>
         <td><span py:replace="record.observaciones">fecha corregido</span></td>
                                <td>
-                                       <table>
-                                               <tr>
-                                                       <th>Tarea</th>
-                                                       <th>Desde</th>
-                                                       <th>Hasta</th>
-                                                       <th>Correcta</th>
-                                                       <th>Obs</th>
-                                               </tr>
-                                               <tr py:for="i in record.tareas">
-                                                       <td >${i.tarea.shortrepr()}</td>
-                                                       <td>${i.inicio}</td>
-                                                       <td>${i.fin}</td>
-                                                       <td align="center">
-                                                               <span py:if="i.exito">Si</span>
-                                                               <span py:if="not i.exito">No</span>
-                                                       </td>
-                                                       <td>${i.observaciones}</td>
-                                               </tr>
-                                       </table>
+                                               <ul>
+                                                       <li py:for="i in record.comandos_ejecutados" py:content="i.shortrepr()" />
+                                               </ul>
+                               </td>
+                               <td>
+                                       <a href="${tg.url('/mis_entregas/get_archivo/%d' % record.id)}">Bajar Archivo</a>
                                </td>
     </tr>
 </table>