]> git.llucax.com Git - software/sercom.git/commitdiff
enlaces a los objetos relacionados.
authorRicardo Markiewicz <rmarkie@fi.uba.ar>
Sun, 4 Mar 2007 19:13:00 +0000 (19:13 +0000)
committerRicardo Markiewicz <rmarkie@fi.uba.ar>
Sun, 4 Mar 2007 19:13:00 +0000 (19:13 +0000)
sercom/subcontrollers/alumno_inscripto/templates/list.kid

index c5c72fdb33004af33b5baaab1fc330a65fb77c32..148f240b796d1d6942bf6050d33897574f7544da 100644 (file)
                                <th>Operaciones</th>
     </tr>
     <tr py:for="record in records">
-        <td><span py:replace="record.curso.shortrepr()">usuario</span></td>
-        <td><span py:replace="record.alumno.shortrepr()">fecha asignado</span></td>
+                               <td><a href="${tg.url('/curso/show/%d' % record.curso.id)}" py:content="record.curso.shortrepr()">curso</a></td>
+        <td><a href="${tg.url('/alumno/show/%d' % record.alumno.id)}" py:content="record.alumno.shortrepr()">alumno</a></td>
         <td><span py:replace="record.condicional">fecha corregido</span></td>
-        <td><span py:if="record.tutor" py:replace="record.tutor.shortrepr()">Tutor</span></td>
+        <td><a py:if="record.tutor" href="${tg.url('/docente/show/%d' % record.tutor.id)}" py:content="record.tutor.shortrepr()">Tutor</a></td>
                                <td>
                                        <a href="${tg.url('/correccion/show/%d' % record.id)}">Ver</a>
                                </td>