]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/curso/alumno/templates/list.kid
Pasar Ejercicio a Curso.
[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</h1>
12
13 <table class="list">
14     <tr>
15                                 <th>Curso</th>
16         <th>Alumno</th>
17         <th>Condicional?</th>
18         <th>Tutor</th>
19                                 <th>Operaciones</th>
20     </tr>
21     <tr py:for="record in records">
22                                 <td><a href="${tg.url('/curso/show/%d' % record.curso.id)}" py:content="record.curso.shortrepr()">curso</a></td>
23         <td><a href="${tg.url('/curso/alumno/show/%d' % record.alumno.id)}" py:content="record.alumno.shortrepr()">alumno</a></td>
24         <td><span py:replace="record.condicional">fecha corregido</span></td>
25         <td><a py:if="record.tutor" href="${tg.url('/docente/show/%d' % record.tutor.id)}" py:content="record.tutor.shortrepr()">Tutor</a></td>
26                                 <td>
27                                         <a href="${tg.url('/curso/alumno/notas/%d/%d' % (record.id, cursoid))}">Notas</a>
28                                 </td>
29     </tr>
30 </table>
31
32 <div py:for="page in tg.paginate.pages">
33     <a py:if="page != tg.paginate.current_page"
34         href="${tg.paginate.get_href(page)}">${page}</a>
35     <b py:if="page == tg.paginate.current_page">${page}</b>
36 </div>
37
38 </body>
39 </html>
40
41 <!-- vim: set et sw=4 sts=4 : -->