]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/show.kid
solo muestro miembros activos
[software/sercom.git] / sercom / subcontrollers / grupo / templates / show.kid
index c8b304931f75fd60bcb3854cec09b5d7a7131e38..6bacb0a936460301d81d240fb8c2dab09fd2286b 100644 (file)
@@ -7,29 +7,42 @@
 </head>
 <body>
 
-<table>
+<table class="show">
+    <tr>
+        <th>Nombre:</th>
+                               <td><span py:replace="record.nombre">nombre</span></td>
+    </tr>
     <tr>
         <th>Curso:</th>
-        <td><span py:replace="record.curso">curso</span></td>
+        <td><span py:replace="record.curso.shortrepr()">curso</span></td>
     </tr>
     <tr>
-        <th>Docente:</th>
-       <td><span py:replace="record.docente">docente</span></td>
+        <th>Tutores:</th>
+                               <td>
+                                       <span py:for="a in record.tutores">
+                                               <span py:replace="a.docente.shortrepr()" />
+                                               <br />
+                                       </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">
+                                               <a href="${tg.url('/alumno_inscripto/show/%d' % a.alumno.id)}" py:content="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>