Add template for note sharing
This commit is contained in:
parent
2c9511ecf4
commit
258ff9eda7
24
templates/emails/note-shared.html.twig
Normal file
24
templates/emails/note-shared.html.twig
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
{{ owner.name }} has shared a note with you, what follows are their formatted notes.
|
||||
{% if isRegistered %}
|
||||
You can see shared notes <a href='{{ domain }}/index.php/shared-notes'>here</a>.
|
||||
{% else %}
|
||||
You can register for an account <a href='{{ domain }}/index.php/register'>here</a>, or just review the notes below
|
||||
{% endif %}
|
||||
</p>
|
||||
<h1>{{ note.title }}</h1>
|
||||
<blockquote>
|
||||
Passage: {{ note.passage }}<br/>
|
||||
Date: {{ note.date | date("F j Y") }}<br/>
|
||||
Speaker: {{ note.speaker.name }}<br/>
|
||||
Series: {{ note.series.name }}<br/>
|
||||
</blockquote>
|
||||
|
||||
{{ formattedText | raw }}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user