Merge pull request #17217 from edx/tasawer/learner-2437-update-learner-help-link-to-help-center
update help link in header
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user