From b4f75c9d90b9d28aaa260807be354a9e4a84fc0b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 21 Dec 2010 02:23:36 +0000 Subject: - do not hardcode project url in mail sent, use a configuration for that --- catdap.yml | 1 + root/email/activation.tt | 2 +- root/email/admin/password.tt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/catdap.yml b/catdap.yml index b2c8bce..c87fc3b 100644 --- a/catdap.yml +++ b/catdap.yml @@ -11,6 +11,7 @@ name: CatDap default_view: Web organisation: Mageia +project_url: http://www.mageia.org/ apptitle: Mageia Identity Management emailfrom: noreply@mageia.org diff --git a/root/email/activation.tt b/root/email/activation.tt index b873421..d1cd4a6 100644 --- a/root/email/activation.tt +++ b/root/email/activation.tt @@ -4,4 +4,4 @@ [% url %] -- -http://mageia.org/ \ No newline at end of file +[% c.config.project_url %] diff --git a/root/email/admin/password.tt b/root/email/admin/password.tt index 0d9bac1..09fb61d 100644 --- a/root/email/admin/password.tt +++ b/root/email/admin/password.tt @@ -7,4 +7,4 @@ [% url %] -- -http://mageia.org/ \ No newline at end of file +[% c.config.project_url %] -- cgit v1.2.1