Add template for note sharing

This commit is contained in:
Ryan Prather 2024-07-02 01:53:45 -04:00
parent 2c9511ecf4
commit 258ff9eda7

View 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>