mirror of https://gitlab.com/bashrc2/epicyon
Move summary back
parent
fe6c3f9f70
commit
e22572b67a
|
@ -1522,7 +1522,7 @@ def individualPostAsHtml(allowDownloads: bool,
|
||||||
nickname, domain,
|
nickname, domain,
|
||||||
cwStr, False)
|
cwStr, False)
|
||||||
contentStr += \
|
contentStr += \
|
||||||
'<label class="cw"><summary>' + cwStr + '</summary></label>\n '
|
'<label class="cw">' + cwStr + '</label>\n '
|
||||||
if isModerationPost:
|
if isModerationPost:
|
||||||
containerClass = 'container report'
|
containerClass = 'container report'
|
||||||
# get the content warning text
|
# get the content warning text
|
||||||
|
|
|
@ -167,8 +167,8 @@ def getContentWarningButton(postID: str, translate: {},
|
||||||
content: str) -> str:
|
content: str) -> str:
|
||||||
"""Returns the markup for a content warning button
|
"""Returns the markup for a content warning button
|
||||||
"""
|
"""
|
||||||
return ' <details class="cw">' + \
|
return ' <details class="cw"><summary>' + \
|
||||||
translate['SHOW MORE'] + \
|
translate['SHOW MORE'] + '</summary>' + \
|
||||||
'<div id="' + postID + '">' + content + \
|
'<div id="' + postID + '">' + content + \
|
||||||
'</div></details>\n'
|
'</div></details>\n'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue