X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ui%2Ftopmenu.py;fp=ui%2Ftopmenu.py;h=c23adf7bd9d3ac5ce6a65f0bd9e3ed543d1e7fa2;hb=7ad1e085bc705fddbf06357582afd42d03f4e5da;hp=d0238788f6b49a09e28ac94ee5ce22e3c0bfcab0;hpb=04ea5e29850e650e370b7815c491f3538b442d9e;p=unfold.git diff --git a/ui/topmenu.py b/ui/topmenu.py index d0238788..c23adf7b 100644 --- a/ui/topmenu.py +++ b/ui/topmenu.py @@ -13,7 +13,7 @@ from manifold.core.query import Query # , ..] # see also templates/widget-topmenu.html for how these items are put together -# and plugins/validatebutton for how this hident button is turned on when necessary +# and plugins/topmenuvalidation for how this hident button is turned on when necessary # current: the beginning of the label in the menu that you want to outline def topmenu_items (current,request=None): @@ -59,7 +59,7 @@ def topmenu_items (current,request=None): #### result.append({'label':'Validation', 'href': '/portal/validate/'}) ### result.append({'label':'Validation', 'href': '/portal/validate/'}) # always create a disabled button for validation, and let the - # validatebutton plugin handle that asynchroneously, based on this domid + # topmenuvalidation plugin handle that asynchroneously, based on this domid result.append({'label':'Validation', 'href': '/portal/validate/', 'domid':'topmenu-validation', 'disabled':True}) dropdown = [] dropdown.append({'label':'Platforms', 'href': '/portal/platforms/'})