Skip to content
Snippets Groups Projects
Unverified Commit 4be09725 authored by Tasawer Nawaz's avatar Tasawer Nawaz Committed by GitHub
Browse files

Merge pull request #17217 from edx/tasawer/learner-2437-update-learner-help-link-to-help-center

update help link in header
parents 955dc60a f16cfea8
No related merge requests found
......@@ -74,7 +74,6 @@ site_status_msg = get_site_status_msg(course_id)
<![endif]-->
% endif
<%include file="../help_modal.html"/>
% if settings.FEATURES.get('ENABLE_COOKIE_CONSENT', False):
<%include file="../widgets/cookie-consent.html" />
% endif
......
......@@ -7,6 +7,7 @@
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
%>
<%
......@@ -57,7 +58,11 @@ from django.utils.translation import ugettext as _
</div>
% endif
<div class="mobile-nav-item hidden-mobile nav-item">
<a class="help-link" href="${get_online_help_info(online_help_token)['doc_url']}" target="_blank">${_("Help")}</a>
% if online_help_token == "instructor":
<a class="help-link" href="${get_online_help_info(online_help_token)['doc_url']}" target="_blank">${_("Help")}</a>
% else:
<a class="help-link" href="${configuration_helpers.get_value('SUPPORT_SITE_LINK', settings.SUPPORT_SITE_LINK)}" target="_blank">${_("Help")}</a>
% endif
</div>
<%include file="user_dropdown.html"/>
</div>
......
......@@ -7,6 +7,7 @@
<%!
from django.core.urlresolvers import reverse
from django.utils.translation import ugettext as _
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
%>
<%
......@@ -61,7 +62,11 @@ from django.utils.translation import ugettext as _
</div>
% endif
<div class="mobile-nav-item hidden-mobile nav-item">
<a href="${get_online_help_info(online_help_token)['doc_url']}" target="_blank">${_("Help")}</a>
% if online_help_token == "instructor":
<a class="help-link" href="${get_online_help_info(online_help_token)['doc_url']}" target="_blank">${_("Help")}</a>
% else:
<a class="help-link" href="${configuration_helpers.get_value('SUPPORT_SITE_LINK', settings.SUPPORT_SITE_LINK)}" target="_blank">${_("Help")}</a>
% endif
</div>
<%include file="user_dropdown.html"/>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment