forked from indymedia/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:
|
# if showHeaderImage:
|
||||||
# htmlStr += '<br>'
|
# 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'
|
linksFilename = baseDir + '/accounts/links.txt'
|
||||||
linksFileContainsEntries = False
|
linksFileContainsEntries = False
|
||||||
if os.path.isfile(linksFilename):
|
if os.path.isfile(linksFilename):
|
||||||
|
|
|
@ -119,11 +119,11 @@ def htmlLogin(cssCache: {}, translate: {},
|
||||||
'<button type="submit" name="register">Register</button>'
|
'<button type="submit" name="register">Register</button>'
|
||||||
|
|
||||||
TOSstr = \
|
TOSstr = \
|
||||||
'<p class="login-text"><a href="/terms">' + \
|
|
||||||
translate['Terms of Service'] + '</a></p>'
|
|
||||||
TOSstr += \
|
|
||||||
'<p class="login-text"><a href="/about">' + \
|
'<p class="login-text"><a href="/about">' + \
|
||||||
translate['About this Instance'] + '</a></p>'
|
translate['About this Instance'] + '</a></p>'
|
||||||
|
TOSstr += \
|
||||||
|
'<p class="login-text"><a href="/terms">' + \
|
||||||
|
translate['Terms of Service'] + '</a></p>'
|
||||||
|
|
||||||
loginButtonStr = ''
|
loginButtonStr = ''
|
||||||
if accounts > 0:
|
if accounts > 0:
|
||||||
|
|
Loading…
Reference in New Issue