X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=engine%2Fviews.py;h=52e22d2338d6670648671c2f9d295c93e995d309;hb=68e0811883d0790679f0539300a230677f7b9743;hp=96dfa66a42b4815b284069f0fca8bd6459b72415;hpb=dd7a6a67c9df09b1a376f5e0ee7b8e9375399774;p=unfold.git diff --git a/engine/views.py b/engine/views.py index 96dfa66a..52e22d23 100644 --- a/engine/views.py +++ b/engine/views.py @@ -22,25 +22,26 @@ def test_plugin_view (request): main_plugin = \ VerticalLayout ( title='title for the vertical layout',name='vertical1', sons = [ SimpleList (title='SimpleList and dataTables', - name='simplelist1', - list=hard_wired_list, - header='Hard wired', - foo='the value for foo', - with_datatables=True), - Tabs (title='Sample Tabs',name='tabs1', - active='raw1', - sons = [ Raw (title='a raw plugin',name='raw1', - hidable=False, - html= 3*lorem_p), - SliceList(title='a slice list',name='slicelist-main', - hidable=False, - list=hard_wired_slice_names), - Raw (title='raw title',name='raw2', - hidable=False,html=lorem) ]), - SimpleList (title='SimpleList with slice names', - name='simplelist2', - list=hard_wired_slice_names, - ) ] ) + name='simplelist1', + list=hard_wired_list, + header='Hard wired', + foo='the value for foo', + with_datatables=True, + toggled=False), + Tabs (title='Sample Tabs',name='tabs1', + active='raw1', + sons = [ Raw (title='a raw plugin',name='raw1', + togglable=False, + html= 3*lorem_p), + SliceList(title='a slice list',name='slicelist-main', + togglable=False, + list=hard_wired_slice_names), + Raw (title='raw title',name='raw2', + togglable=False,html=lorem) ]), + SimpleList (title='SimpleList with slice names', + name='simplelist2', + list=hard_wired_slice_names, + ) ] ) # define 'content_main' to the template engine template_env [ 'content_main' ] = main_plugin.render(request)