result.append({'label':'Request a slice', 'href': '/portal/slice_request/'})
result.append({'label':'Validation', 'href': '/portal/validate/'})
dropdown = []
+ dropdown.append({'label':'Platforms', 'href': '/portal/platforms/'})
dropdown.append({'label':'My Account', 'href': '/portal/account/'})
dropdown.append({'label':'Contact Support', 'href': '/portal/contact/'})
result.append({'label': 'More', 'href':"#", 'dropdown':True, 'contents':dropdown})
if d['label'][:curlen].lower() == current:
d['is_active']=True
if up is not None: up['is_active']=True
- print 'mark_active OUT','d=',d,'up',up
for d in result:
mark_active(d)
if 'dropdown' in d: