X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Fsliceview.py;h=4037e753801eb9bf6ff722681e1144362155c6d5;hp=96bb21840b5a89f5ca6ca39bf12d9d087c678605;hb=83f238a32f62a34370f24d69e85823c709d95627;hpb=f8a614d0271ddc3046e18d826df01f72a861257c diff --git a/portal/sliceview.py b/portal/sliceview.py index 96bb2184..4037e753 100644 --- a/portal/sliceview.py +++ b/portal/sliceview.py @@ -324,8 +324,8 @@ class SliceView (LoginRequiredAutoLogoutView): # variables that will get passed to the view-unfold1.html template template_env = {} - # define 'unfold1_main' to the template engine - the main contents - template_env [ 'unfold1_main' ] = main_stack.render(request) + # define 'unfold_main' to the template engine - the main contents + template_env [ 'unfold_main' ] = main_stack.render(request) # more general variables expected in the template template_env [ 'title' ] = '%(slicename)s'%locals()