##// END OF EJS Templates
templates: expose default user data into templates for JS usage.
marcink -
r1763:45ee44d8 default
parent child Browse files
Show More
@@ -16,6 +16,11 b" if getattr(c, 'rhodecode_user', None) an"
16 16 c.template_context['rhodecode_user']['last_name'] = c.rhodecode_user.lastname
17 17
18 18 c.template_context['visual']['default_renderer'] = h.get_visual_attr(c, 'default_renderer')
19 c.template_context['default_user'] = {
20 'username': h.DEFAULT_USER,
21 'user_id': 1
22 }
23
19 24 %>
20 25 <html xmlns="http://www.w3.org/1999/xhtml">
21 26 <head>
General Comments 0
You need to be logged in to leave comments. Login now