Include reference to post within report

master
Bob Mottram 2019-08-25 11:18:33 +01:00
parent 7e0684cd79
commit 83eda427fd
1 changed files with 3 additions and 1 deletions

View File

@ -647,6 +647,8 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: [],reportUrl: st
' <a href="'+pathBase+'/newreport"><img src="/icons/scope_report.png"/><b>Report</b><br>Send to moderators</a>'+ \ ' <a href="'+pathBase+'/newreport"><img src="/icons/scope_report.png"/><b>Report</b><br>Send to moderators</a>'+ \
shareOptionOnDropdown+ \ shareOptionOnDropdown+ \
' </div>' ' </div>'
else:
mentionsStr='Re: '+reportUrl+'\n\n'+mentionsStr
newPostForm+= \ newPostForm+= \
'<form enctype="multipart/form-data" method="POST" action="'+path+'?'+endpoint+'">' \ '<form enctype="multipart/form-data" method="POST" action="'+path+'?'+endpoint+'">' \