]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/list.kid
linkeo responsable al show de alumno.
[software/sercom.git] / sercom / subcontrollers / grupo / templates / list.kid
index c9e497941bc588fd6cf71873623de1948f105174..dedcd5c1ca2310175462afea2132260497c9ca6e 100644 (file)
@@ -19,8 +19,9 @@
     <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>
                                        <a href="${tg.url('/grupo/delete/%d' % record.id)}" onclick="if (confirm('${_(u'Estás seguro? Tal vez sólo quieras desactivarlo mejor...')}')) { var f = document.createElement('form'); this.parentNode.appendChild(f); f.method = 'POST'; f.action = this.href; f.submit(); };return false;">Eliminar</a>
                                </td>