From 6daded8cdf2e43ab77acaab61be07ed3bcbe1bb1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Oct 2020 18:33:02 +0000 Subject: [PATCH] Consistent button style on front page --- webinterface.py | 53 ++++++++++++++++--------------------------------- 1 file changed, 17 insertions(+), 36 deletions(-) diff --git a/webinterface.py b/webinterface.py index 8f9d6bce..9190b5cc 100644 --- a/webinterface.py +++ b/webinterface.py @@ -3383,42 +3383,23 @@ def htmlProfile(iconsAsButtons: bool, defaultTimeline: str, if not authorized: loginButton = '
' # the links button to show left column links - if not iconsAsButtons: - loginButton += \ - ' ' + \ - '| ' + translate['News'] + \
-                '\n' - loginButton += \ - ' ' + \ - '| ' + translate['Edit Links'] + \
-                '\n' - loginButton += \ - '' - else: - loginButton += \ - ' \n' - loginButton += \ - ' \n' - loginButton += \ - ' \n' + loginButton += \ + ' \n' + loginButton += \ + ' \n' + loginButton += \ + ' \n' else: editProfileStr = \ '' + \