git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn off querycode.css for now as it appears to set stuff for e.g. div.in that messes...
[unfold.git]
/
trash
/
pluginview.py
diff --git
a/trash/pluginview.py
b/trash/pluginview.py
index
c836c76
..
5735015
100644
(file)
--- a/
trash/pluginview.py
+++ b/
trash/pluginview.py
@@
-67,8
+67,8
@@
def test_plugin_view (request):
title='QuickFilter in main content',
criterias=quickfilter_criterias,
) ] )
title='QuickFilter in main content',
criterias=quickfilter_criterias,
) ] )
- # define 'unfold
1
_main' to the template engine
- template_env [ 'unfold
1
_main' ] = main_plugin.render(request)
+ # define 'unfold
2
_main' to the template engine
+ template_env [ 'unfold
2
_main' ] = main_plugin.render(request)
##########
related_plugin = StaticList (page=page,
##########
related_plugin = StaticList (page=page,
@@
-77,7
+77,7
@@
def test_plugin_view (request):
list=hard_wired_slice_names,
header='Slices')
# likewise but on the side view
list=hard_wired_slice_names,
header='Slices')
# likewise but on the side view
- template_env [ 'unfold
1
_margin' ] = related_plugin.render (request)
+ template_env [ 'unfold
2
_margin' ] = related_plugin.render (request)
# more general variables expected in the template
template_env [ 'title' ] = 'Test Plugin View'
# more general variables expected in the template
template_env [ 'title' ] = 'Test Plugin View'
@@
-91,6
+91,6
@@
def test_plugin_view (request):
# define {js,css}_{files,chunks}
prelude_env = page.prelude_env()
template_env.update(prelude_env)
# define {js,css}_{files,chunks}
prelude_env = page.prelude_env()
template_env.update(prelude_env)
- return render_to_response ('view-
plugin
.html',template_env,
+ return render_to_response ('view-
unfold2
.html',template_env,
context_instance=RequestContext(request))
context_instance=RequestContext(request))