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