]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/list.kid
Edit de Grupo (parcial).
[software/sercom.git] / sercom / subcontrollers / grupo / templates / list.kid
index bd373a2aba9f8b42fefb32976ce1177ffa05a690..dedcd5c1ca2310175462afea2132260497c9ca6e 100644 (file)
@@ -19,7 +19,7 @@
     <tr py:for="record in records">
         <td><span py:replace="record.curso.shortrepr()">curso</span></td>
         <td><span py:replace="record.nombre">nombre</span></td>
     <tr py:for="record in records">
         <td><span py:replace="record.curso.shortrepr()">curso</span></td>
         <td><span py:replace="record.nombre">nombre</span></td>
-        <td><span py:if="record.responsable is not None" py:replace="record.responsable.alumno.shortrepr()"></span></td>
+                               <td><a py:if="record.responsable is not None" href="${tg.url('/alumno/show/'+str(record.responsable.alumno.id))}" py:content="record.responsable.alumno.shortrepr()"></a></td>
                                <td>
                                        <a href="${tg.url('/grupo/show/%d' % record.id)}">Ver</a>
                                        <a href="${tg.url('/grupo/edit/%d' % record.id)}">Editar</a>
                                <td>
                                        <a href="${tg.url('/grupo/show/%d' % record.id)}">Ver</a>
                                        <a href="${tg.url('/grupo/edit/%d' % record.id)}">Editar</a>