]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/list.kid
Fix footer en IE y Firefox.
[software/sercom.git] / sercom / subcontrollers / grupo / templates / list.kid
index 6d7d4af3fc1d9bf20aa4e276f653a7512bc536bd..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:replace="record.responsable"></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>