]> git.llucax.com Git - software/sercom.git/blob - sercom/subcontrollers/ejercicio/templates/show.kid
fix shortrepr
[software/sercom.git] / sercom / subcontrollers / ejercicio / 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>
11     <tr>
12         <th>Curso:</th>
13                                 <td>
14                                         <a href="${tg.url('/curso/show/%d' % record.curso.id)}">
15                                                 <span py:replace="record.curso.shortrepr()">nombre</span>
16                                         </a>
17                                 </td>
18     </tr>
19     <tr>
20         <th>Número:</th>
21         <td><span py:replace="record.numero">descripcion</span></td>
22     </tr>
23     <tr>
24         <th>Enunciado:</th>
25         <td>
26                 <a href="${tg.url('/enunciado/show/%d' % record.enunciado.id)}">
27                         <span py:replace="record.enunciado.shortrepr()">autor</span>
28                 </a>
29         </td>
30     </tr>
31     <tr>
32         <th>Es grupal?:</th>
33         <td>
34                         <span py:replace="record.grupal">grupal</span>
35         </td>
36   </tr>
37 </table>
38
39 <br/>
40 <a href="${tg.url('/ejercicio/edit/%d' % record.id)}">Editar</a> |
41 <a href="${tg.url('/ejercicio/list')}">Volver</a>
42
43 </body>
44 </html>