From c1887bb4708e69813049dde04302a7ea0c3e24b5 Mon Sep 17 00:00:00 2001 From: Buchan Milne Date: Thu, 4 Nov 2010 15:48:46 +0000 Subject: Commit missing email templates --- root/email/activation.tt | 5 +++++ root/email/admin/password.tt | 8 ++++++++ t/view_Email-Template.t | 7 +++++++ 3 files changed, 20 insertions(+) create mode 100644 root/email/activation.tt create mode 100644 root/email/admin/password.tt create mode 100644 t/view_Email-Template.t 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(); -- cgit v1.2.1