]> git.llucax.com Git - z.facultad/75.52/sercom.git/blob - sercom/templates/welcome.kid
606fe954b7def6ab657f91f13085a092ef292031
[z.facultad/75.52/sercom.git] / sercom / templates / welcome.kid
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <?python from turbogears import identity ?>
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
5         py:extends="'master.kid'">
6 <head>
7 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8 <title>Dashboard - SERCOM</title>
9 </head>
10 <body>
11         <div py:if="'admin' in identity.current.permissions">
12                 <h1>Dashboard</h1>
13                 <h2>Correcciones</h2>
14                 <div>
15                         <span py:if="record['entregas_para_corregir'] != 0">
16                                 En este momento tenes <a href="${tg.url('/correccion/')}">${record['entregas_para_corregir']}</a> entregas para corregir.
17                         </span> 
18                         <span py:if="record['entregas_para_corregir'] == 0">
19                                 No hay entregas que corregir.
20                         </span> 
21                 </div>
22                 <h2>Instancias de Entrega</h2>
23                 <div>
24                         <span py:if="record['proxima_entrega'] is not None">La proxima Entrega vence el ${record['proxima_entrega']}.</span>
25                         <span py:if="record['proxima_entrega'] is None">En este momento no hay ninguna Entrega en curso.</span>
26                 </div>
27         </div>
28
29
30         <div py:if="'entregar' in identity.current.permissions and 'admin' not in identity.current.permissions">
31                 <h1>Soy entregar</h1>
32         </div>
33 </body>
34 </html>