aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-12-21 02:23:36 +0000
committerMichael Scherer <misc@mageia.org>2010-12-21 02:23:36 +0000
commitb4f75c9d90b9d28aaa260807be354a9e4a84fc0b (patch)
treefb1a62ea1ed7d91a76776c92aff235912664cd68
parent0826ccb20adec6d5321d1bc363b57059bb5e3e74 (diff)
downloadidentity-b4f75c9d90b9d28aaa260807be354a9e4a84fc0b.tar
identity-b4f75c9d90b9d28aaa260807be354a9e4a84fc0b.tar.gz
identity-b4f75c9d90b9d28aaa260807be354a9e4a84fc0b.tar.bz2
identity-b4f75c9d90b9d28aaa260807be354a9e4a84fc0b.tar.xz
identity-b4f75c9d90b9d28aaa260807be354a9e4a84fc0b.zip
- do not hardcode project url in mail sent, use a configuration for that
-rw-r--r--catdap.yml1
-rw-r--r--root/email/activation.tt2
-rw-r--r--root/email/admin/password.tt2
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 %]