Prompt at top

merge-requests/30/head
Bob Mottram 2021-11-11 23:18:57 +00:00
parent 81db0b1be6
commit 1fad4becc1
1 changed files with 3 additions and 3 deletions

View File

@ -2199,6 +2199,8 @@ def htmlEmojiReactionPicker(cssCache: {},
"""Returns the emoji picker screen """Returns the emoji picker screen
""" """
reactedToPostStr = \ reactedToPostStr = \
'<center><label class="labels">' + \
translate['Select reaction'].title() + '</label></center>\n' + \
individualPostAsHtml(signingPrivateKeyPem, individualPostAsHtml(signingPrivateKeyPem,
True, recentPostsCache, True, recentPostsCache,
maxRecentPosts, maxRecentPosts,
@ -2222,9 +2224,7 @@ def htmlEmojiReactionPicker(cssCache: {},
if not os.path.isfile(reactionsFilename): if not os.path.isfile(reactionsFilename):
reactionsFilename = baseDir + '/emoji/default_reactions.json' reactionsFilename = baseDir + '/emoji/default_reactions.json'
reactionsJson = loadJson(reactionsFilename) reactionsJson = loadJson(reactionsFilename)
emojiPicksStr = \ emojiPicksStr = ''
'<center><label class="labels">' + \
translate['Select reaction'].title() + '</label></center>\n'
baseUrl = '/users/' + nickname baseUrl = '/users/' + nickname
postId = removeIdEnding(postJsonObject['id']) postId = removeIdEnding(postJsonObject['id'])
for category, item in reactionsJson.items(): for category, item in reactionsJson.items():