mirror of https://gitlab.com/bashrc2/epicyon
Include reference to post within report
parent
7e0684cd79
commit
83eda427fd
|
@ -646,7 +646,9 @@ def htmlNewPost(baseDir: str,path: str,inReplyTo: str,mentions: [],reportUrl: st
|
||||||
' <a href="'+pathBase+'/newdm"><img src="/icons/scope_dm.png"/><b>Direct Message</b><br>Only to mentioned people</a>' \
|
' <a href="'+pathBase+'/newdm"><img src="/icons/scope_dm.png"/><b>Direct Message</b><br>Only to mentioned people</a>' \
|
||||||
' <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+'">' \
|
||||||
|
|
Loading…
Reference in New Issue