Skip to content

Commit

Permalink
Correctly format links in email templates
Browse files Browse the repository at this point in the history
This commit fixes the formatting of links in the sample template emails
  • Loading branch information
Andrew Isherwood committed Dec 3, 2020
1 parent cee7ee1 commit a93eaca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions emails/sample/new-query/html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ 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}
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}
a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new message - #{query.url}
4 changes: 2 additions & 2 deletions emails/sample/updated-query/html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ 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}
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}
a(href=`${query.url}`) #{query.query.title}: #{query.query.messageCount} new message - #{query.url}

0 comments on commit a93eaca

Please sign in to comment.