Skip to content

Commit

Permalink
Emails: update missed-vote to missed-action with additional templating
Browse files Browse the repository at this point in the history
  • Loading branch information
sohkai committed May 13, 2020
1 parent ce13ea2 commit 64f84f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function() {
`
${infobox({
mode: 'negative',
primary: `Your vote wasn’t revealed on time`,
primary: '{{actionTitle}}',
secondary: `Some of your ${link(
'locked ANJ balance',
'{{lockedAnjBalanceUrl}}'
Expand All @@ -31,8 +31,9 @@ module.exports = function() {
Your account {{account}} received a notification on {{date}}:
Your vote wasn’t revealed on time. Some of your locked ANJ [1] balance has
been forfeit.
{{actionTitle}}
Some of your locked ANJ [1] balance has been forfeit.
Learn more: {{learnMoreUrl}}
Expand All @@ -47,6 +48,7 @@ module.exports = function() {
mockData: {
...accountData('0xef0f7ecef8385483ac8a2e92d761f571c4b782bd'),
date: 'Thursday, 17 Dec. 2019',
actionTitle: "Your vote wasn't cast on time",
lockedAnjBalanceUrl: '',
learnMoreUrl: '',
},
Expand Down
54 changes: 0 additions & 54 deletions emails/templates/missed-vote.js

This file was deleted.

0 comments on commit 64f84f1

Please sign in to comment.