1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
3 py:extends="'../../../../templates/master.kid'">
5 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
10 <h1><span py:replace="namepl">Objetos</span> del Curso <span py:replace="curso.shortrepr()">Curso</span></h1>
16 <th>Observaciones</th>
19 <tr py:for="record in records">
20 <!--td><input type="checkbox" onclick="var f =
21 document.createElement('form'); this.parentNode.appendChild(f);
22 f.method = 'POST'; f.action = '${tg.url('/alumno/activate/%d/%d' % (record.id, int(not record.activo)))}';
23 f.submit(); return false;"
24 py:attrs="checked=tg.checker(record.activo)" /></td-->
25 <td><a href="${tg.url('/docente/show/%d' % record.docente.id)}"><span py:replace="record.docente.shortrepr()">docentes</span></a></td>
26 <td><span py:if="record.corrige">SI</span><span py:if="not record.corrige">NO</span></td>
27 <td><span py:replace="record.observaciones">observaciones</span></td>
28 <td><a href="${tg.url('/curso/docente/edit/%d' % record.id)}">Editar</a>
29 <a href="${tg.url('/curso/docente/delete/%d/%d' % (record.curso.id, 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>
34 <a href="${tg.url('/curso/docente/new/%d' % curso.id)}">Agregar</a> |
35 <a href="${tg.url('/curso/list')}">Volver</a>
37 <div py:for="page in tg.paginate.pages">
38 <a py:if="page != tg.paginate.current_page"
39 href="${tg.paginate.get_href(page)}">${page}</a>
40 <b py:if="page == tg.paginate.current_page">${page}</b>
46 <!-- vim: set et sw=4 sts=4 : -->