About at the bottom of left column

merge-requests/8/head
Bob Mottram 2020-11-15 16:48:55 +00:00
parent be45c71e12
commit 2789e1e38c
1 changed files with 8 additions and 7 deletions

View File

@ -124,13 +124,6 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
# if showHeaderImage:
# htmlStr += '<br>'
htmlStr += \
'<p class="login-text"><a href="/about">' + \
translate['About this Instance'] + '</a></p>'
htmlStr += \
'<p class="login-text"><a href="/terms">' + \
translate['Terms of Service'] + '</a></p>'
linksFilename = baseDir + '/accounts/links.txt'
linksFileContainsEntries = False
if os.path.isfile(linksFilename):
@ -179,8 +172,16 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
' <p>' + lineStr + '</p>\n'
linksFileContainsEntries = True
htmlStr += \
'<p class="login-text"><a href="/about">' + \
translate['About this Instance'] + '</a></p>'
htmlStr += \
'<p class="login-text"><a href="/terms">' + \
translate['Terms of Service'] + '</a></p>'
if linksFileContainsEntries and not rssIconAtTop:
htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
return htmlStr