From 3fe8471c5ced15d3c9e01bb5bc6b4d01eea62cf0 Mon Sep 17 00:00:00 2001
From: shlurbee
Date: Thu, 25 Oct 2012 12:28:05 -0700
Subject: [PATCH] Add email link to promo traffic help page
---
r2/example.ini | 1 +
r2/r2/templates/promotraffichelp.html | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/r2/example.ini b/r2/example.ini
index a0619101f..f71fb6754 100644
--- a/r2/example.ini
+++ b/r2/example.ini
@@ -313,6 +313,7 @@ payment_domain = https://pay.reddit.local/
ad_domain = http://reddit.local
allowed_pay_countries = United States, United Kingdom, Canada
sponsors =
+selfserve_support_email = selfservesupport@mydomain.com
# authorize.net credentials (blank authorizenetapi to disable)
authorizenetapi =
diff --git a/r2/r2/templates/promotraffichelp.html b/r2/r2/templates/promotraffichelp.html
index 7d5d6c695..067c698ce 100644
--- a/r2/r2/templates/promotraffichelp.html
+++ b/r2/r2/templates/promotraffichelp.html
@@ -21,6 +21,7 @@
###############################################################################
<%!
+ from pylons import g
from r2.lib.strings import strings
from r2.lib.filters import safemarkdown
from r2.lib.template_helpers import format_number, js_timestamp, html_datetime
@@ -36,4 +37,8 @@
${_("Campaigns created before Sept 12, 2012 will not be included in " +
"these totals.")}
+
+ ${_("Questions? Email self serve support:")}
+ ${g.selfserve_support_email}
+