]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/curso/grupo/templates/show.kid
si no hay instancias de entregas activas aborto el agregar entrega al alumno.
[software/sercom.git] / sercom / subcontrollers / curso / grupo / templates / show.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>show</title>
7 </head>
8 <body>
9
10 <table class="show">
11     <tr>
12         <th>Nombre:</th>
13                                 <td><span py:replace="record.nombre">nombre</span></td>
14     </tr>
15     <tr>
16         <th>Curso:</th>
17         <td><span py:replace="record.curso.shortrepr()">curso</span></td>
18     </tr>
19     <tr>
20         <th>Tutores:</th>
21                                 <td>
22                                         <span py:for="a in record.tutores">
23                                                 <span py:replace="a.docente.shortrepr()" />
24                                                 <br />
25                                         </span>         
26                                 </td>
27     </tr>
28     <tr>
29                         <th>Responsable:</th>
30                         <td><span py:if="record.responsable is not None" py:replace="record.responsable.shortrepr()">numero</span></td>
31     </tr>
32     <tr>
33         <th>Integrantes:</th>
34                                 <td>
35                                         <span py:for="a in record.miembros" py:if="not a.baja">
36                                                 <a href="${tg.url('/curso/alumno/show/%d/%d' % (a.alumno.id, a.alumno.curso.id))}" py:content="a.alumno.shortrepr()" />
37                                                 <br />
38                                         </span>         
39                                 </td>
40     </tr>
41 </table>
42
43 <br/>
44 <a href="${tg.url('/curso/grupo/edit/%d' % record.id)}">Editar</a> |
45 <a href="${tg.url('/curso/grupo/list/%d' % record.curso.id)}">Volver</a>
46
47 </body>
48 </html>