Draw text mode banner

merge-requests/16/head
Bob Mottram 2021-02-05 19:15:52 +00:00
parent f5babf0d01
commit 47b438f855
1 changed files with 3 additions and 0 deletions

View File

@ -887,6 +887,9 @@ def htmlKeyboardNavigation(banner: str, links: {},
"""
htmlStr = '<div class="transparent"><ul>'
if banner:
htmlStr += banner.replace('\n', '<br>') + '<br>'
# show new follower approvals
if usersPath and translate and followApprovals:
htmlStr += '<label class="transparent">' + \