From f56bc33465d93536d50b55376c5bc81fa8d4b90e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 Nov 2020 11:38:27 +0000 Subject: [PATCH] Add about and ToS to links --- webapp_column_left.py | 7 +++++++ webapp_login.py | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/webapp_column_left.py b/webapp_column_left.py index 736bfb1bb..1d26b8ec0 100644 --- a/webapp_column_left.py +++ b/webapp_column_left.py @@ -125,6 +125,13 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str, # if showHeaderImage: # htmlStr += '
' + htmlStr += \ + '

' + \ + translate['About this Instance'] + '

' + htmlStr += \ + '

' + \ + translate['Terms of Service'] + '

' + linksFilename = baseDir + '/accounts/links.txt' linksFileContainsEntries = False if os.path.isfile(linksFilename): diff --git a/webapp_login.py b/webapp_login.py index 6ee41fc5f..ebcff8b93 100644 --- a/webapp_login.py +++ b/webapp_login.py @@ -119,11 +119,11 @@ def htmlLogin(cssCache: {}, translate: {}, '' TOSstr = \ - '

' + \ - translate['Terms of Service'] + '

' - TOSstr += \ '

' + \ translate['About this Instance'] + '

' + TOSstr += \ + '

' + \ + translate['Terms of Service'] + '

' loginButtonStr = '' if accounts > 0: