ui: Add email template & change model for author_user
This commit is contained in:
20
djangoldp_notification/templates/email.html
Normal file
20
djangoldp_notification/templates/email.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p style='font-style:italic;color:#777'>A new {{ instance.type }} from <b>{{ instance.author_user.name }}</b> on {{ on }}</p>
|
||||
<p>{{ instance.summary }}</p>
|
||||
</div>
|
||||
<div style='margin-top:10px;'>
|
||||
<p style='font-size:small;color:#777'>
|
||||
--
|
||||
<br>
|
||||
Do not reply to this email directly, go to <a href='http://{{ on }}' target='_blank'>http://{{ on }}</a> instead.
|
||||
<br>
|
||||
<a href='#'>Unsubscribe</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user