X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fviewutils.py;h=9be8941a15f2314e44054f3c5b789c0285429bfb;hb=58e800e51fa670234f3933ece4e9d5c59383226d;hp=c469d5ccc4cdfa233d2576788bd8a261be1b5626;hpb=ac2dda758798f7e44de062d370763c639cc6a375;p=myslice.git diff --git a/myslice/viewutils.py b/myslice/viewutils.py index c469d5cc..9be8941a 100644 --- a/myslice/viewutils.py +++ b/myslice/viewutils.py @@ -26,6 +26,7 @@ def topmenu_items (current,request=None): result.append({'label':'Home', 'href': '/login'}) result.append({ 'label':'Register', 'href': '/portal/user/register/'}) result.append({'label':'Contact Support', 'href': '/portal/contact/'}) + result.append({'label':'Platforms', 'href': '/portal/platforms/'}) for d in result: #if d['label'].lower()find(current)>=0: d['is_active']=True if d['label'] == current: d['is_active']=True