]> git.llucax.com Git - z.facultad/75.52/sercom.git/commitdiff
show de grupos.
authorRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 27 Feb 2007 22:55:45 +0000 (22:55 +0000)
committerRicardo Markiewicz <rmarkie@fi.uba.ar>
Tue, 27 Feb 2007 22:55:45 +0000 (22:55 +0000)
sercom/subcontrollers/grupo/templates/list.kid
sercom/subcontrollers/grupo/templates/show.kid

index c9e497941bc588fd6cf71873623de1948f105174..bd373a2aba9f8b42fefb32976ce1177ffa05a690 100644 (file)
@@ -21,6 +21,7 @@
         <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 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>
index c8b304931f75fd60bcb3854cec09b5d7a7131e38..82defc1e3e2d83fe4eb217661cd68ec576b9c566 100644 (file)
@@ -9,27 +9,31 @@
 
 <table>
     <tr>
-        <th>Curso:</th>
-        <td><span py:replace="record.curso">curso</span></td>
+        <th>Nombre:</th>
+                               <td><span py:replace="record.nombre">nombre</span></td>
     </tr>
     <tr>
-        <th>Docente:</th>
-       <td><span py:replace="record.docente">docente</span></td>
+        <th>Curso:</th>
+        <td><span py:replace="record.curso.shortrepr()">curso</span></td>
     </tr>
     <tr>
-        <th>Corrige:</th>
-       <td><span py::replace="record.numero">numero</span></td>
+                       <th>Responsable:</th>
+                       <td><span py:if="record.responsable is not None" py:replace="record.responsable.shortrepr()">numero</span></td>
     </tr>
     <tr>
-        <th>Descripcion:</th>
-                               <td><span py:if="record.corrige">SI</span></td>
-                               <td><span py:if="not record.corrige">NO</span></td>
+        <th>Integrantes:</th>
+                               <td>
+                                       <span py:for="a in record.miembros">
+                                               <span py:replace="a.alumno.shortrepr()" />
+                                               <br />
+                                       </span>         
+                               </td>
     </tr>
 </table>
 
 <br/>
-<a href="${tg.url('/docente_inscripto/edit/%d' % record.id)}">Editar</a> |
-<a href="${tg.url('/docente_inscripto/list')}">Volver</a>
+<a href="${tg.url('/grupo/edit/%d' % record.id)}">Editar</a> |
+<a href="${tg.url('/grupo/list')}">Volver</a>
 
 </body>
 </html>