X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=trash%2Fpluginview.py;h=16801d058844df11ec6d34939368733afd8de6d6;hb=ceaa4271ec96d47dc4e8d1eb727d82364a9032aa;hp=b165d6a1dd70df536eee8f2ddc5cbd5a2ac63bc0;hpb=71188a9ad677af8150780c40ce51936b06e18b9c;p=myslice.git diff --git a/trash/pluginview.py b/trash/pluginview.py index b165d6a1..16801d05 100644 --- a/trash/pluginview.py +++ b/trash/pluginview.py @@ -18,10 +18,10 @@ from plugins.querycode.querycode import QueryCode from plugins.raw.raw import Raw from plugins.messages.messages import Messages from plugins.hazelnut import Hazelnut -from plugins.updater.updater import Updater +from plugins.updater import Updater from myslice.viewutils import topmenu_items, the_user -from myslice.viewutils import hard_wired_slice_names, hard_wired_list, lorem_p, lorem, quickfilter_criterias +from trash.trashutils import hard_wired_slice_names, hard_wired_list, lorem_p, lorem, quickfilter_criterias @login_required def test_plugin_view (request): @@ -41,29 +41,32 @@ def test_plugin_view (request): Stack ( page=page, title='thestack', - togglable=False, + togglable=True, domid='stack', sons=[ \ - Updater ( - page=page, - title="wont show up as non togglable by default", - query=main_query, - label="Update me", - domid="the-updater", - ), - # make sure the 2 things work together +# this updater thing never made it to production +# Updater ( +# page=page, +# title="Won't show up as non togglable", +# query=main_query, +# label="Update me", +# domid="the-updater", +# ), + # make sure the 2 things work together Hazelnut ( page=page, title="Slice %s - checkboxes interacting w/ updater"%slicename, query=main_query, domid="hazelnut", checkboxes=True, + togglable=True, ), Messages ( page=page, title="Runtime messages", - domid="msgs-pre", + domid="messages", levels='ALL', + togglable=True, ), ])