]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/correccion/templates/entregas.kid
Pasar Ejercicio a Curso.
[software/sercom.git] / sercom / subcontrollers / correccion / templates / entregas.kid
index 9bd8690076457e776ad50069a054db0dbe87d05b..9992e2d3e6faddcada25b121fa2a039e027b4ecc 100644 (file)
                                <th width="20%">Fecha</th>
         <th width="5%" title="Correcta?">Ok?</th>
         <th width="25%">Observaciones</th>
-        <th width="50%">Tareas Ejecutadas</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 align="center">
-                                       <span py:if="record.correcta">Si</span>
-                                       <span py:if="not record.correcta">No</span>
+                                       <span py:replace="tg.strbool(record.exito)">Si</span>
                                </td>
         <td><span py:replace="record.observaciones">fecha corregido</span></td>
                                <td>
-                                       <table width="100%;">
-                                               <tr>
-                                                       <th><strong>Tarea</strong></th>
-                                                       <th><strong>Desde</strong></th>
-                                                       <th><strong>Hasta</strong></th>
-                                                       <th><strong>Correcta</strong></th>
-                                                       <th><strong>Obs</strong></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>