git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0d63f4
)
cosmetic
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 18 Dec 2012 10:44:31 +0000
(11:44 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Tue, 18 Dec 2012 10:44:31 +0000
(11:44 +0100)
engine/views.py
patch
|
blob
|
history
diff --git
a/engine/views.py
b/engine/views.py
index
ba826c1
..
0f0309c
100644
(file)
--- a/
engine/views.py
+++ b/
engine/views.py
@@
-27,13
+27,18
@@
def test_plugin_view (request):
hard_wired_list.append("")
hard_wired_list.append("OTOH and IMHO, there should be two separate and explicit subclasses of SimpleList for slices or testbeds")
hard_wired_list.append("")
hard_wired_list.append("OTOH and IMHO, there should be two separate and explicit subclasses of SimpleList for slices or testbeds")
- plugin_main = SimpleList (visible=True, hidable=True, list=hard_wired_list, header='Hard wired')
+ plugin_main = SimpleList (visible=True,
+ hidable=True,
+ list=hard_wired_list,
+ header='Hard wired',
+ foo='the value for foo')
content_main = plugin_main.render (request)
# lacks a/href to /slice/%s
plugin_related = SimpleList (visible=True, hidable=True,
need_datatables='yes',
content_main = plugin_main.render (request)
# lacks a/href to /slice/%s
plugin_related = SimpleList (visible=True, hidable=True,
need_datatables='yes',
- list=hard_wired_slice_names, header='Slices' )
+ list=hard_wired_slice_names,
+ header='Slices' )
content_related = plugin_related.render (request)
content_related = plugin_related.render (request)