custom_settings: ajoute un variable moncompte_url principalement pour construire les liens absolus dans les mails (#24564)

This commit is contained in:
Benjamin Dauvergne 2018-06-15 11:40:37 +02:00
parent e97bc812e3
commit 10c8b89070
1 changed files with 3 additions and 0 deletions

View File

@ -130,17 +130,20 @@ TEMPLATE_VARS = {
if PLATFORM == 'dev':
TEMPLATE_VARS.update({
"environment_label": u"Site de développement",
"moncompte_url": 'https://connexion-grandlyon.dev.entrouvert.org',
})
elif PLATFORM == 'test':
TEMPLATE_VARS.update({
"environment_label": u"Site de test",
"smarttag_js": "https://tag.aticdn.net/586793/smarttag.js",
"visits_tracking_js": "var tag = new ATInternet.Tracker.Tag();",
"moncompte_url": 'https://moncompte-rec.grandlyon.com',
})
elif PLATFORM == 'prod':
TEMPLATE_VARS.update({
"smarttag_js": "https://tag.aticdn.net/586794/smarttag.js",
"visits_tracking_js": "var tag = new ATInternet.Tracker.Tag();",
"moncompte_url": 'https://moncompte.grandlyon.com',
})
A2_HOMEPAGE_URL = '/accounts/'