mirror of https://gitlab.com/bashrc2/epicyon
Prompt at top
parent
81db0b1be6
commit
1fad4becc1
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue