]> git.llucax.com Git - software/sercom.git/blob - sercom/templates/welcome.kid
estilizo
[software/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>Welcome to TurboGears</title>
9 </head>
10 <body>
11         <div py:if="'admin' in identity.current.permissions">
12                 <h1>Soy admin</h1>
13         </div>
14
15
16         <div py:if="'entregar' in identity.current.permissions and 'admin' not in identity.current.permissions">
17                 <h1>Soy entregar</h1>
18         </div>
19 </body>
20 </html>