mirror of https://gitlab.com/bashrc2/epicyon
Add about and ToS to links
parent
c5a27206c4
commit
f56bc33465
|
@ -125,6 +125,13 @@ 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):
|
||||
|
|
|
@ -119,11 +119,11 @@ def htmlLogin(cssCache: {}, translate: {},
|
|||
'<button type="submit" name="register">Register</button>'
|
||||
|
||||
TOSstr = \
|
||||
'<p class="login-text"><a href="/terms">' + \
|
||||
translate['Terms of Service'] + '</a></p>'
|
||||
TOSstr += \
|
||||
'<p class="login-text"><a href="/about">' + \
|
||||
translate['About this Instance'] + '</a></p>'
|
||||
TOSstr += \
|
||||
'<p class="login-text"><a href="/terms">' + \
|
||||
translate['Terms of Service'] + '</a></p>'
|
||||
|
||||
loginButtonStr = ''
|
||||
if accounts > 0:
|
||||
|
|
Loading…
Reference in New Issue