dropdown.append({'label':'Platforms', 'href': '/portal/platforms/'})
dropdown.append({'label':'My Account', 'href': '/portal/account/'})
dropdown.append({'label':'Contact Support', 'href': '/portal/contact/'})
+ dropdown.append({'label':'UNIVBRIS info', 'href': '/portal/univbris/'})
result.append({'label': 'More', 'href':"#", 'dropdown':True, 'contents':dropdown})
else:
result.append({'label':'Home', 'href': '/login'})
# looks like this is accessible to non-logged users
result.append({'label':'Platforms', 'href': '/portal/platforms/'})
result.append({'label':'Register', 'href': '/portal/register/'})
+ result.append({'label':'Join us', 'href': '/portal/join/'})
result.append({'label':'Contact Support', 'href': '/portal/contact/'})
# mark active if the provided 'current', even if shorter, matches the beginning of d['label']