Skip to content

Commit

Permalink
Change help and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan-edutrigger committed Aug 27, 2023
1 parent 2817dd1 commit 81788e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
19 changes: 0 additions & 19 deletions cms/templates/widgets/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,5 @@
</ol>
</nav>
</div>

<div class="footer-content-secondary" aria-label="${_("Legal")}">
<div class="footer-about-copyright">
## Site operators: Please do not remove this paragraph! This attributes back to edX and makes your acknowledgement of edX's trademarks clear.
<p>
## Translators: 'edX' and 'Open edX' are trademarks of 'edX Inc.'. Please do not translate any of these trademarks and company names.
${Text(_("edX, Open edX, and the edX and Open edX logos are registered trademarks of {link_start}edX Inc.{link_end}")).format(
link_start=HTML(u"<a href='https://www.edx.org/'>"),
link_end=HTML(u"</a>")
)}
</p>
</div>

<div class="footer-about-openedx">
<a href="https://open.edx.org" title="${_("Powered by Open edX")}">
<img alt="${_("Powered by Open edX")}" src="https://logos.openedx.org/open-edx-logo-tag.png">
</a>
</div>
</div>
</footer>
</div>
4 changes: 2 additions & 2 deletions cms/templates/widgets/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h2 class="sr-only">${_("Account Navigation")}</h2>
<ol>
% if settings.FEATURES.get('ENABLE_HELP_LINK'):
<li class="nav-item nav-account-help">
<h3 class="title"><span class="label"><a href="${get_online_help_info(online_help_token)['doc_url']}" title="${_('Contextual Online Help')}" rel="noopener" target="_blank">${_("Help")}</a></span></h3>
<h3 class="title"><span class="label"><a href="https://online.flippingbook.com/view/643385710/" title="${_('Contextual Online Help')}" rel="noopener" target="_blank">${_("Help")}</a></span></h3>
</li>
% endif
<li class="nav-item nav-account-user">
Expand All @@ -266,7 +266,7 @@ <h3 class="title"><span class="label"><a href="${get_online_help_info(online_hel
<h2 class="sr-only">${_("Account Navigation")}</h2>
<ol>
<li class="nav-item nav-not-signedin-help">
<a href="${get_online_help_info(online_help_token)['doc_url']}" title="${_('Contextual Online Help')}" rel="noopener" target="_blank">${_("Help")}</a>
<a href="https://online.flippingbook.com/view/643385710/" title="${_('Contextual Online Help')}" rel="noopener" target="_blank">${_("Help")}</a>
</li>
% if static.get_value('ALLOW_PUBLIC_ACCOUNT_CREATION', settings.FEATURES.get('ALLOW_PUBLIC_ACCOUNT_CREATION')):
<li class="nav-item nav-not-signedin-signup">
Expand Down
7 changes: 1 addition & 6 deletions lms/templates/header/navbar-authenticated.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
support_link = configuration_helpers.get_value('SUPPORT_SITE_LINK', settings.SUPPORT_SITE_LINK)
doc_link = get_online_help_info(online_help_token)['doc_url']

if online_help_token == "instructor":
help_link = doc_link
elif support_link:
help_link = support_link
else:
help_link = doc_link
help_link = "https://online.flippingbook.com/view/643385710/"
%>

<div class="nav-links">
Expand Down

0 comments on commit 81788e6

Please sign in to comment.