]> git.llucax.com Git - z.facultad/75.52/sercom.git/blob - sercom/subcontrollers/enunciado/templates/show.kid
Saco URL de editar
[z.facultad/75.52/sercom.git] / sercom / subcontrollers / enunciado / 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 <?python from turbogears import identity ?>
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>show</title>
8 </head>
9 <body>
10
11 <table>
12     <tr>
13         <th>Nombre:</th>
14         <td><span py:replace="record.nombre">nombre</span></td>
15     </tr>
16     <tr>
17         <th>Descripción:</th>
18         <td><span py:replace="XML(record.desc)">descripcion</span></td>
19     </tr>
20     <tr>
21         <th>Autor:</th>
22         <td><a py:if="record.autorID is not None"
23                         href="${tg.url('/docente/show/%d' % record.autor.id)}"><span py:replace="record.autor.shortrepr()">autor</span></a></td>
24     </tr>
25 </table>
26
27 <br/>
28 <a py:if="'admin' in identity.current.permissions" href="${tg.url('/enunciado/edit/%d' % record.id)}">Editar</a> |
29 <a href="${tg.url('/enunciado/list')}">Volver</a>
30
31 </body>
32 </html>