Commit 7b6dcbba by Jay Zoldak

Merge pull request #673 from edx/hotfix/adam/help-modal

Hotfix/adam/help modal
parents 5d8e07eb 72fdc414
...@@ -31,6 +31,8 @@ MITX_FEATURES['ENABLE_SERVICE_STATUS'] = True ...@@ -31,6 +31,8 @@ MITX_FEATURES['ENABLE_SERVICE_STATUS'] = True
MITX_FEATURES['ENABLE_HINTER_INSTRUCTOR_VIEW'] = True MITX_FEATURES['ENABLE_HINTER_INSTRUCTOR_VIEW'] = True
MITX_FEATURES['ENABLE_INSTRUCTOR_BETA_DASHBOARD'] = False MITX_FEATURES['ENABLE_INSTRUCTOR_BETA_DASHBOARD'] = False
FEEDBACK_SUBMISSION_EMAIL = "dummy@example.com"
WIKI_ENABLED = True WIKI_ENABLED = True
LOGGING = get_logger_config(ENV_ROOT / "log", LOGGING = get_logger_config(ENV_ROOT / "log",
......
...@@ -106,7 +106,7 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -106,7 +106,7 @@ discussion_link = get_discussion_link(course) if course else None
).format( ).format(
open_time=open_time, open_time=open_time,
close_time=close_time, close_time=close_time,
link_start='<a href="/help" target="_blank">', link_start='<a href="{}" target="_blank">'.format(marketing_link('FAQ')),
link_end='</a>' link_end='</a>'
)} )}
</p> </p>
...@@ -193,7 +193,7 @@ discussion_link = get_discussion_link(course) if course else None ...@@ -193,7 +193,7 @@ discussion_link = get_discussion_link(course) if course else None
% if settings.FEEDBACK_SUBMISSION_EMAIL: % if settings.FEEDBACK_SUBMISSION_EMAIL:
htmlStr += " " + _.template( htmlStr += " " + _.template(
gettext("Please {link_start}send us e-mail{link_end}."), gettext("Please {link_start}send us e-mail{link_end}."),
{link_start: '<a href="#" id="feedback_email">', link_end='</a>'}, {link_start: '<a href="#" id="feedback_email">', link_end: '</a>'},
{interpolate: /\{(.+?)\}/g}) {interpolate: /\{(.+?)\}/g})
% else: % else:
// If no email is configured, we can't do much other than // If no email is configured, we can't do much other than
......
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