X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trash%2Fdashboard.py;h=cd1ba3d61ebb16756d6fb8b997e5062ac44224cb;hb=45273da0859095cd4e7565f7ea0fc1496ef2f2de;hp=cbe8bd4e8bdf9a89ab0887064a198acac5271891;hpb=64be7f204b6f00244951821884a37fb74b3bbe36;p=unfold.git diff --git a/trash/dashboard.py b/trash/dashboard.py index cbe8bd4e..cd1ba3d6 100644 --- a/trash/dashboard.py +++ b/trash/dashboard.py @@ -68,8 +68,8 @@ def dashboard_view (request): # variables that will get passed to the view-plugin.html template template_env = {} - # define 'unfold1_main' to the template engine - template_env [ 'unfold1_main' ] = main_plugin.render(request) + # define 'unfold2_main' to the template engine + template_env [ 'unfold2_main' ] = main_plugin.render(request) # more general variables expected in the template template_env [ 'title' ] = 'Test view for a full request cycle' @@ -90,7 +90,7 @@ def dashboard_view (request): query=slices_query, ) # likewise but on the side view - template_env [ 'unfold1_margin' ] = related_plugin.render (request) + template_env [ 'unfold2_margin' ] = related_plugin.render (request) # add our own css in the mix page.add_css_files ( 'css/dashboard.css')