]> git.llucax.com Git - z.facultad/75.52/sercom.git/blob - sercom/subcontrollers/correccion/templates/list.kid
0157f61bb67496aa0d1de45bcff9b3f9d348ddfc
[z.facultad/75.52/sercom.git] / sercom / subcontrollers / correccion / templates / list.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
3     py:extends="'../../../templates/master.kid'">
4 <head>
5 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6 <title>list</title>
7 </head>
8 <body>
9
10 <h1>Administración de <span py:replace="namepl">Objetos</span></h1>
11
12 <table class="list">
13     <tr>
14                                 <th><span title="Instancia de Entrega">IE</span></th>
15         <th>Entregador</th>
16         <th>Entregas</th>
17         <th>Corrector</th>
18         <th>Asignado</th>
19         <th>Corregido</th>
20         <th>Corregido</th>
21                                 <th>Nota</th>
22     </tr>
23     <tr py:for="record in records">
24         <td><span py:replace="record.instancia.shortrepr()">usuario</span></td>
25         <td><span py:replace="record.entregador.shortrepr()">nombre</span></td>
26         <td><span py:replace="len(record.entregas)">email</span></td>
27         <td><span py:replace="record.corrector.shortrepr()">telefono</span></td>
28         <td><span py:replace="record.asignado">nota</span></td>
29         <td><span py:replace="record.corregido">observaciones</span></td>
30         <td><span py:replace="record.nota">observaciones</span></td>
31                                 <td>
32                                         <a href="${tg.url('/correccion/show/%d' % record.id)}">Ver</a>
33                                         <a py:if="not record.corregido and not record.nota" href="${tg.url('/correccion/edit/%d' % record.id)}">Corregir</a>
34                                         <a py:if="record.corregido and record.nota" href="${tg.url('/correccion/edit/%d' % record.id)}">Editar</a>
35                                 </td>
36     </tr>
37 </table>
38
39 <div py:for="page in tg.paginate.pages">
40     <a py:if="page != tg.paginate.current_page"
41         href="${tg.paginate.get_href(page)}">${page}</a>
42     <b py:if="page == tg.paginate.current_page">${page}</b>
43 </div>
44
45 </body>
46 </html>
47
48 <!-- vim: set et sw=4 sts=4 : -->