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
added new layout with a single column - use this for the slice view
[unfold.git]
/
trash
/
pluginview.py
diff --git
a/trash/pluginview.py
b/trash/pluginview.py
index
c836c76
..
c2939e1
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'