Skip to content
This repository was archived by the owner on Dec 8, 2017. It is now read-only.

Commit cb8e65b

Browse files
committed
paramtertized feedback email
1 parent 0b1d0ab commit cb8e65b

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Footer.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="footer-logo">
33
<img src="theme/img/gsa_logo.png" alt="GSA Logo">
44
<div id="footer-text">
5-
Please provide feedback to &lt;[email protected]&gt;.
5+
Please provide feedback to &lt;{{feedback_email}}&gt;.
66
</div>
77
</div>
88
<div id="footer-right"></div>

PPBottleApp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import P3Auth.LogActivity
1313
import P3Auth.pycas
1414

15-
from ppGuiConfig import URLToPPSearchApiSolr,GoogleAnalyticsInclusionScript,\
15+
from ppGuiConfig import URLToPPSearchApiSolr,GoogleAnalyticsInclusionScript,FEEDBACK_EMAIL,\
1616
LocalURLToRecordFeedback,CAS_SERVER,CAS_PROXY,CAS_RETURN_SERVICE_URL,CAS_LEVEL_OF_ASSURANCE,CAS_LEVEL_OF_ASSURANCE_PREDICATE
1717

1818
import P3Auth.auth
@@ -68,7 +68,7 @@ def readCredentials():
6868
PYCAS_SECRET=os.environ.get("PYCAS_SECRET")
6969

7070
# Begin Common Template Strings
71-
FOOTER_HTML = template('Footer')
71+
FOOTER_HTML = template('Footer',feedback_email=FEEDBACK_EMAIL)
7272
COLUMN_DROPDOWN_HTML = template('ColumnDropdown')
7373
EXTRA_LOGIN_METHODS = template('ExtraLoginMethods')
7474
PORTFOLIO_PANEL = template('PortfolioPanel')

ppGuiConfig.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
2020
</script>"""
2121

22+
FEEDBACK_EMAIL = "[email protected]"
23+
2224
RelativePathToHashesFile = "../configuration/p3api.hashes.txt"
2325

2426
# I'm going to use a 10-minute timeout

0 commit comments

Comments
 (0)