]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/list.kid
show de grupos.
[software/sercom.git] / sercom / subcontrollers / grupo / templates / list.kid
index 6d7d4af3fc1d9bf20aa4e276f653a7512bc536bd..bd373a2aba9f8b42fefb32976ce1177ffa05a690 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><span py:if="record.responsable is not None" py:replace="record.responsable.alumno.shortrepr()"></span></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>