Skip to content

Commit

Permalink
Add new query templates
Browse files Browse the repository at this point in the history
This commit adds email templates for a new query email message
  • Loading branch information
Andrew Isherwood committed Dec 3, 2020
1 parent b88c707 commit cee7ee1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions emails/sample/new-query/html.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
p Dear #{name}

p The following queries have been created:

ul
each query in queries
li
if query.query.messageCount !== 1
a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new messages - #{query.url}
else
a(href="#{query.url}") #{query.query.title}: #{query.query.messageCount} new message - #{query.url}
1 change: 1 addition & 0 deletions emails/sample/new-query/subject.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
= 'New queries have been submitted'
File renamed without changes.
File renamed without changes.

0 comments on commit cee7ee1

Please sign in to comment.