]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/alumno_inscripto/templates/list.kid
Bugfix: mal formateo en Comando.__repr__() y ComandoEjecutado.__repr__().
[software/sercom.git] / sercom / subcontrollers / alumno_inscripto / 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 <?python from sercom.model import Grupo, AlumnoInscripto ?>
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
4     py:extends="'../../../templates/master.kid'">
5 <head>
6 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
7 <title>list</title>
8 </head>
9 <body>
10
11 <h1>Administración de <span py:replace="namepl">Objetos</span></h1>
12
13 <div py:replace="form(value=vfilter, action=tg.url('/alumno_inscripto/list'),   submit_text=_(u'Filtrar'))">Filtros</div>
14
15 <table class="list">
16     <tr>
17                                 <th>Curso</th>
18         <th>Alumno</th>
19         <th>Condicional?</th>
20         <th>Tutor</th>
21                                 <th>Operaciones</th>
22     </tr>
23     <tr py:for="record in records">
24                                 <td><a href="${tg.url('/curso/show/%d' % record.curso.id)}" py:content="record.curso.shortrepr()">curso</a></td>
25         <td><a href="${tg.url('/alumno/show/%d' % record.alumno.id)}" py:content="record.alumno.shortrepr()">alumno</a></td>
26         <td><span py:replace="record.condicional">fecha corregido</span></td>
27         <td><a py:if="record.tutor" href="${tg.url('/docente/show/%d' % record.tutor.id)}" py:content="record.tutor.shortrepr()">Tutor</a></td>
28                                 <td>
29                                         <a href="${tg.url('/alumno_inscripto/show/%d' % record.id)}">Ver</a>
30                                 </td>
31     </tr>
32 </table>
33
34 <div py:for="page in tg.paginate.pages">
35     <a py:if="page != tg.paginate.current_page"
36         href="${tg.paginate.get_href(page)}">${page}</a>
37     <b py:if="page == tg.paginate.current_page">${page}</b>
38 </div>
39
40 </body>
41 </html>
42
43 <!-- vim: set et sw=4 sts=4 : -->