]> git.llucax.com Git - software/sercom.git/blobdiff - sercom/templates/welcome.kid
set title
[software/sercom.git] / sercom / templates / welcome.kid
index 9a86f7c9d6121b99d43de6e111899dead0bd310e..606fe954b7def6ab657f91f13085a092ef292031 100644 (file)
@@ -5,11 +5,25 @@
        py:extends="'master.kid'">
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        py:extends="'master.kid'">
 <head>
 <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
-<title>Welcome to TurboGears</title>
+<title>Dashboard - SERCOM</title>
 </head>
 <body>
        <div py:if="'admin' in identity.current.permissions">
 </head>
 <body>
        <div py:if="'admin' in identity.current.permissions">
-               <h1>Soy admin</h1>
+               <h1>Dashboard</h1>
+               <h2>Correcciones</h2>
+               <div>
+                       <span py:if="record['entregas_para_corregir'] != 0">
+                               En este momento tenes <a href="${tg.url('/correccion/')}">${record['entregas_para_corregir']}</a> entregas para corregir.
+                       </span> 
+                       <span py:if="record['entregas_para_corregir'] == 0">
+                               No hay entregas que corregir.
+                       </span> 
+               </div>
+               <h2>Instancias de Entrega</h2>
+               <div>
+                       <span py:if="record['proxima_entrega'] is not None">La proxima Entrega vence el ${record['proxima_entrega']}.</span>
+                       <span py:if="record['proxima_entrega'] is None">En este momento no hay ninguna Entrega en curso.</span>
+               </div>
        </div>
 
 
        </div>