aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBuchan Milne <buchan@mageia.org>2010-11-04 15:48:46 +0000
committerBuchan Milne <buchan@mageia.org>2010-11-04 15:48:46 +0000
commitc1887bb4708e69813049dde04302a7ea0c3e24b5 (patch)
tree0341056258399124819d2495f0b01cc26cf7a4a7
parent47272b1601e289cdba31089ce36cec46a7a360de (diff)
downloadidentity-c1887bb4708e69813049dde04302a7ea0c3e24b5.tar
identity-c1887bb4708e69813049dde04302a7ea0c3e24b5.tar.gz
identity-c1887bb4708e69813049dde04302a7ea0c3e24b5.tar.bz2
identity-c1887bb4708e69813049dde04302a7ea0c3e24b5.tar.xz
identity-c1887bb4708e69813049dde04302a7ea0c3e24b5.zip
Commit missing email templates
-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();