projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get username from cherrypy request object
[invirt/packages/invirt-web.git]
/
code
/
templates
/
skeleton.mako
diff --git
a/code/templates/skeleton.mako
b/code/templates/skeleton.mako
index
d602252
..
a619a67
100644
(file)
--- a/
code/templates/skeleton.mako
+++ b/
code/templates/skeleton.mako
@@
-46,8
+46,8
@@
function helppopup(name){
% endif
% if not simple:
% endif
% if not simple:
-% if user:
-<p class="loggedin">Welcome, <span class="name">${user}</span>.</p>
+% if cherrypy.request.login:
+<p class="loggedin">Welcome, <span class="name">${cherrypy.request.login}</span>.</p>
% endif
<ul class="navigation">
% endif
<ul class="navigation">