Link to reported post

master
Bob Mottram 2019-08-24 13:49:44 +01:00
parent a01a94b5ae
commit e3ceb9fc11
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: []) -> str:
# For moderation reports add a link to the post reported # For moderation reports add a link to the post reported
if reportUrl: if reportUrl:
mentionStr='Reported link: '+reportUrl+'\n\n' mentionsStr='<a href="'+reportUrl+'">Reported link</a>\n\n'
reportOptionOnDropdown='<a href="'+pathBase+'/newreport?url='+reportUrl+'"><img src="/icons/scope_report.png"/><b>Report</b><br>Send to moderators</a>' reportOptionOnDropdown='<a href="'+pathBase+'/newreport?url='+reportUrl+'"><img src="/icons/scope_report.png"/><b>Report</b><br>Send to moderators</a>'
newPostForm+= \ newPostForm+= \