[SIP-15] Making sure the toast link opens in a new tab (#8503)

* [SIP-15] Ensuring toast opens in a new tab

* Update config.py
This commit is contained in:
John Bodley 2019-11-05 07:02:18 -08:00 committed by GitHub
parent 926dca3214
commit 0e64dc84de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ SQLALCHEMY_EXAMPLES_URI = None
SIP_15_ENABLED = False
SIP_15_GRACE_PERIOD_END: Optional[date] = None # exclusive
SIP_15_DEFAULT_TIME_RANGE_ENDPOINTS = ["unknown", "inclusive"]
SIP_15_TOAST_MESSAGE = 'Action Required: Preview then save your chart using the new time range endpoints <a href="{url}" class="alert-link">here</a>.'
SIP_15_TOAST_MESSAGE = 'Action Required: Preview then save your chart using the new time range endpoints <a target="_blank" href="{url}" class="alert-link">here</a>.'
if CONFIG_PATH_ENV_VAR in os.environ:
# Explicitly import config module that is not necessarily in pythonpath; useful