* The new comment path now sends `sendotp` in json, which reflects the project setting * Removed unneccessary export_location in bp_dashboard/comments.py * Stored Mail addresses in the block and allow list are considered global and not part of projects. Trust is universal. * added missing cross_origin decorators * added redirect to dbv2 update template * now using a jinja2 template for the html mail * location and project_id are now a composite unique in t_location * corrected total comments graphprojects
parent
1071acfc4c
commit
01d20f4641
17 changed files with 202 additions and 83 deletions
@ -0,0 +1,40 @@ |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ i18n['html_language'] }}"> |
||||
<head> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
||||
<title>Your comment on {{ blogurl }}</title> |
||||
</head> |
||||
<body style="background-color: #393f4d;color:white;width:70%;margin:0 auto;"> |
||||
<table border="0" cellpadding="0" cellspacing="0" width='100%'> |
||||
<tr> |
||||
<td style="background-color:#feda6a;font-size:1.3em;color:black;padding:2%;"> |
||||
<h1>Your comment on {{ blogurl }}</h1> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td> |
||||
<p style="font-size: 1.2em;line-height: 1.3em;padding-left:2%;"> |
||||
Hey there, <br><br> |
||||
You are receiving this mail, because you have recently made a comment on {{ blogurl }}. |
||||
<br><br> |
||||
If you wish to publish your comment, please click this <a style="color:#feda6a;" href="{{ confirmation_url }}">link</a>. |
||||
<br> |
||||
If you wish to delete your comment, please click this <a style="color:#feda6a;" href="{{ deletion_url }}">link</a>. |
||||
<br><br> |
||||
If this was in error or if someone used your mail address without your knowledge, please contact the site |
||||
adminitrator at {{ blogurl }}. |
||||
</p> |
||||
</td> |
||||
</tr> |
||||
<tr> |
||||
<td style="border-top: 1px dashed #feda6a;padding-left:2%;"> |
||||
<p style="font-size: 0.8em"> |
||||
Powered by <a style="color:#feda6a;" href="https://labertasche.tuxstash.de">Labertasche</a>, |
||||
licensed via MIT license. |
||||
</p> |
||||
<td> |
||||
</tr> |
||||
</table> |
||||
</body> |
Loading…
Reference in new issue