custom_settings: ajoute un variable moncompte_url principalement pour construire les liens absolus dans les mails (#24564)
This commit is contained in:
parent
e97bc812e3
commit
10c8b89070
|
@ -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/'
|
||||
|
|
Loading…
Reference in New Issue