Commit f2cfc981 by Carlos Andrés Rocha

Merge pull request #152 from rocha/open-error-documentation-in-new-window

Open documentation for load errors in new browsing context.
parents c537fdfe 42960226
...@@ -278,7 +278,7 @@ HELP_URL = None ...@@ -278,7 +278,7 @@ HELP_URL = None
########## DOCUMENTATION LINKS -- These values should be overridden for production deployments. ########## DOCUMENTATION LINKS -- These values should be overridden for production deployments.
DOCUMENTATION_LOAD_ERROR_URL = 'http://example.com/' DOCUMENTATION_LOAD_ERROR_URL = 'http://example.com/'
# evaluated again at the end of production setting after DOCUMENTATION_LOAD_ERROR_URL has been set # evaluated again at the end of production setting after DOCUMENTATION_LOAD_ERROR_URL has been set
DOCUMENTATION_LOAD_ERROR_MESSAGE = '<a href="{error_documentation_link}">Read more</a>.'.format(error_documentation_link=DOCUMENTATION_LOAD_ERROR_URL) DOCUMENTATION_LOAD_ERROR_MESSAGE = '<a href="{error_documentation_link}" target="_blank">Read more</a>.'.format(error_documentation_link=DOCUMENTATION_LOAD_ERROR_URL)
########## END FEEDBACK ########## END FEEDBACK
......
...@@ -61,4 +61,4 @@ FULL_APPLICATION_NAME = '{0} {1}'.format(PLATFORM_NAME, APPLICATION_NAME) ...@@ -61,4 +61,4 @@ FULL_APPLICATION_NAME = '{0} {1}'.format(PLATFORM_NAME, APPLICATION_NAME)
# Depends on DOCUMENTATION_LOAD_ERROR_URL, so evaluate at the end # Depends on DOCUMENTATION_LOAD_ERROR_URL, so evaluate at the end
DOCUMENTATION_LOAD_ERROR_MESSAGE = 'This data may not be available for your course. For example, student ' \ DOCUMENTATION_LOAD_ERROR_MESSAGE = 'This data may not be available for your course. For example, student ' \
'enrollment data is not computed for courses created prior to December 4, 2014. ' \ 'enrollment data is not computed for courses created prior to December 4, 2014. ' \
'<a href="{error_documentation_link}">Read more</a>.'.format(error_documentation_link=DOCUMENTATION_LOAD_ERROR_URL) '<a href="{error_documentation_link}" target="_blank">Read more</a>.'.format(error_documentation_link=DOCUMENTATION_LOAD_ERROR_URL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment