custom_settings: modify partners_url (fixes #19880)

This commit is contained in:
Benjamin Dauvergne 2017-11-09 11:16:22 +01:00
parent d5e35a72fa
commit 4384cec806
1 changed files with 1 additions and 3 deletions

View File

@ -126,24 +126,22 @@ TEMPLATE_VARS = {
'theme_base': 'theme.html',
'theme_base_filename': 'theme.html',
"account_label": "compte GRANDLYON CONNECT",
"partners_url": "https://www.grandlyon.com/projets/metropole-intelligente.html",
}
if PLATFORM == 'dev':
TEMPLATE_VARS.update({
"environment_label": u"Site de développement",
"partners_url": "https://portail-citoyen-sau.guichet-recette.grandlyon.com/faq/",
})
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();",
"partners_url": "https://portail-citoyen-sau.guichet-recette.grandlyon.com/faq/",
})
elif PLATFORM == 'prod':
TEMPLATE_VARS.update({
"smarttag_js": "https://tag.aticdn.net/586794/smarttag.js",
"visits_tracking_js": "var tag = new ATInternet.Tracker.Tag();",
"partners_url": "https://portail-citoyen-sau.guichet-recette.grandlyon.com/faq/",
})
A2_HOMEPAGE_URL = '/accounts/'