From 258ff9eda7ec03d16c9d44439d69ad9d489b8559 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 2 Jul 2024 01:53:45 -0400 Subject: [PATCH] Add template for note sharing --- templates/emails/note-shared.html.twig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/emails/note-shared.html.twig diff --git a/templates/emails/note-shared.html.twig b/templates/emails/note-shared.html.twig new file mode 100644 index 0000000..8bc559e --- /dev/null +++ b/templates/emails/note-shared.html.twig @@ -0,0 +1,24 @@ + + + + + +

+ {{ owner.name }} has shared a note with you, what follows are their formatted notes. + {% if isRegistered %} + You can see shared notes here. + {% else %} + You can register for an account here, or just review the notes below + {% endif %} +

+

{{ note.title }}

+
+ Passage: {{ note.passage }}
+ Date: {{ note.date | date("F j Y") }}
+ Speaker: {{ note.speaker.name }}
+ Series: {{ note.series.name }}
+
+ + {{ formattedText | raw }} + + \ No newline at end of file