]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/curso/alumno/templates/list.kid
fa261f34b304d32c909c0c2575c205c3400dc543
[software/sercom.git] / sercom / subcontrollers / curso / alumno / 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>Alumnos del curso <span py:replace="curso.shortrepr()"></span></h1>
12
13 <table class="list">
14     <tr>
15         <th>Alumno</th>
16         <th>Condicional?</th>
17         <th>Tutor</th>
18         <th>Operaciones</th>
19     </tr>
20     <tr py:for="record in records">
21         <td><a href="${tg.url('/curso/alumno/show/%d' % record.alumno.id)}" py:content="record.alumno.shortrepr()">alumno</a></td>
22         <td><span py:replace="record.condicional">fecha corregido</span></td>
23         <td><a py:if="record.tutor" href="${tg.url('/docente/show/%d' % record.tutor.id)}" py:content="record.tutor.shortrepr()">Tutor</a></td>
24         <td>
25             <a href="${tg.url('/curso/alumno/notas/%d/%d' % (record.id, curso.id))}">Notas</a>
26         </td>
27     </tr>
28 </table>
29
30 <br />
31 <a href="${tg.url('/curso/list')}">Volver</a>
32 <br /><br />
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 : -->