forked from indymedia/epicyon
Add Settings link to News instance
parent
3c86807116
commit
24af23e70a
|
@ -270,11 +270,19 @@ def headerButtonsTimeline(defaultTimeline: str,
|
|||
'translateText': 'Search',
|
||||
'iconClass': 'icon-search'}
|
||||
))
|
||||
activeButtonList.append(('minimal',
|
||||
{'pageRef': '/minimal',
|
||||
'translateText': 'Show/Hide Buttons',
|
||||
'iconClass': 'icon-showhide'}
|
||||
))
|
||||
|
||||
# TODO: Less hacky solution - or make sure "settings" button has an icon
|
||||
if defaultTimeline == 'tlnews':
|
||||
activeButtonList.append(('editprofile',
|
||||
{'pageRef': '/editprofile',
|
||||
'translateText': 'Settings'}
|
||||
))
|
||||
else:
|
||||
activeButtonList.append(('minimal',
|
||||
{'pageRef': '/minimal',
|
||||
'translateText': 'Show/Hide Buttons',
|
||||
'iconClass': 'icon-showhide'}
|
||||
))
|
||||
|
||||
|
||||
# Generate HTML lists
|
||||
|
|
Loading…
Reference in New Issue