aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root/email/activation.tt5
-rw-r--r--root/email/admin/password.tt8
-rw-r--r--t/view_Email-Template.t7
3 files changed, 20 insertions, 0 deletions
diff --git a/root/email/activation.tt b/root/email/activation.tt
new file mode 100644
index 0000000..5e749cd
--- /dev/null
+++ b/root/email/activation.tt
@@ -0,0 +1,5 @@
+[% l('Dear [_1],',cn) %]
+[% l('Your [_1] account has been successfully created, but requires activation.',c.config.organisation) %]
+[% l('To activate your account, please follow the link below.') %]
+[% url %]
+
diff --git a/root/email/admin/password.tt b/root/email/admin/password.tt
new file mode 100644
index 0000000..38bf2a3
--- /dev/null
+++ b/root/email/admin/password.tt
@@ -0,0 +1,8 @@
+[% l('Dear [_1],',entry.cn) %]
+
+[% l('Your password was reset by [_1]',c.user.username) %]
+
+[% l('Please click below to change your password') %]
+
+[% url %]
+
diff --git a/t/view_Email-Template.t b/t/view_Email-Template.t
new file mode 100644
index 0000000..c996dc6
--- /dev/null
+++ b/t/view_Email-Template.t
@@ -0,0 +1,7 @@
+use strict;
+use warnings;
+use Test::More;
+
+BEGIN { use_ok 'CatDap::View::Email::Template' }
+
+done_testing();