]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/subcontrollers/grupo/templates/show.kid
Agregar algunos detalles a la TODO.
[software/sercom.git] / sercom / subcontrollers / grupo / templates / show.kid
index c8b304931f75fd60bcb3854cec09b5d7a7131e38..d0074efb801eed3031ccf3b54bbda3f8aaa1a9e5 100644 (file)
@@ -7,29 +7,42 @@
 </head>
 <body>
 
 </head>
 <body>
 
-<table>
+<table class="show">
+    <tr>
+        <th>Nombre:</th>
+                               <td><span py:replace="record.nombre">nombre</span></td>
+    </tr>
     <tr>
         <th>Curso:</th>
     <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>
     </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>
     </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>
     </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/>
     </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>
 
 </body>
 </html>