Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(redwood): update templates to support redwood release #221

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions edx-platform/bragi/cms/templates/widgets/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ <h3 class="title"><span class="label"><span class="label-prefix sr">${_("Course"
% endif
%if not files_uploads_mfe_enabled:
<li class="nav-item nav-course-courseware-uploads">
<a href="${assets_url}">${_("Files & Uploads")}</a>
<a href="${assets_url}">${_("Files")}</a>
</li>
%endif
%if files_uploads_mfe_enabled:
<li class="nav-item nav-course-courseware-uploads">
<a href="${get_files_uploads_url(course_key)}">${_("Files & Uploads")}</a>
<a href="${get_files_uploads_url(course_key)}">${_("Files")}</a>
</li>
%endif
% if not pages_and_resources_mfe_enabled:
Expand All @@ -141,7 +141,7 @@ <h3 class="title"><span class="label"><span class="label-prefix sr">${_("Course"
% endif
% if context_course.video_pipeline_configured and video_upload_mfe_enabled:
<li class="nav-item nav-course-courseware-videos">
<a href="${get_video_uploads_url(course_key)}">${_("Video Uploads")}</a>
<a href="${get_video_uploads_url(course_key)}">${_("Videos")}</a>
</li>
% endif
</ul>
Expand Down Expand Up @@ -356,9 +356,11 @@ <h3 class="title"><span class="label"><a href="${get_online_help_info(online_hel
<nav class="nav-not-signedin nav-pitch" aria-label="${_('Account')}">
<h2 class="sr-only">${_("Account Navigation")}</h2>
<ol>
% if settings.FEATURES.get('ENABLE_HELP_LINK'):
<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>
</li>
% endif
% if static.get_value('ALLOW_PUBLIC_ACCOUNT_CREATION', settings.FEATURES.get('ALLOW_PUBLIC_ACCOUNT_CREATION')) and settings.FEATURES.get('SHOW_REGISTRATION_LINKS', True):
<li class="nav-item nav-not-signedin-signup">
<a class="action action-signup" href="${settings.FRONTEND_REGISTER_URL}?next=${quote_plus(request.build_absolute_uri(settings.LOGIN_URL))}">${_("Sign Up")}</a>
Expand Down
8 changes: 4 additions & 4 deletions edx-platform/bragi/cms/templates/widgets/sock.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@

<div style="margin-top: 20px; margin-right: 7%;margin-left: 7%;line-height: 9pt;font-size: 8pt;text-align: left;">
<p>
eduNEXT is a company that provides online learning technologies powered by the Open edX® platform. These technologies enable the authoring, publication, and operation of online courses to a wide audience, communication, and collaboration tools for learners and instructors, and management tools for administrators.
Edunext is a company that provides online learning technologies powered by the Open edX® platform. These technologies enable the authoring, publication, and operation of online courses to a wide audience, communication, and collaboration tools for learners and instructors, and management tools for administrators.
</p>

<p>
edX and Open edX are registered trademarks of edX inc. The Open edX platform is available to the world as open-source through the GNU Affero license. eduNEXT is not endorsed, sponsored, or directly affiliated with edX inc,or Open edX.
edX and Open edX are registered trademarks of edX inc. The Open edX platform is available to the world as open-source through the GNU Affero license. edunext is not endorsed, sponsored, or directly affiliated with edX inc,or Open edX.
</p>

<p>
Your use of this eduNEXT cloud subscription is bound by our <a href="https://www.edunext.co/terms-of-use/" target="_blank" style="color: #1F9FFF;">terms of service </a>, and <a href="https://www.edunext.co/privacy/" target="_blank" style="color: #1F9FFF;">privacy policy.</a>
Your use of this edunext cloud subscription is bound by our <a href="https://www.edunext.co/terms-of-use/" target="_blank" style="color: #1F9FFF;">terms of service </a>, and <a href="https://www.edunext.co/privacy/" target="_blank" style="color: #1F9FFF;">privacy policy.</a>
</p>

<p>
Copyright © 2022 eduNEXT, All rights reserved.
Copyright © 2024 edunext, All rights reserved.
<br><br><br>
</p>
</div>
Expand Down
3 changes: 2 additions & 1 deletion edx-platform/bragi/lms/templates/courseware/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
${course_discovery_meanings | n, dump_js_escaped_json},
getParameterByName('search_query'),
"${user_language | n, js_escaped_string}",
"${user_timezone | n, js_escaped_string}"
"${user_timezone | n, js_escaped_string}",
${set_default_filter | n, dump_js_escaped_json}
);
</%static:require_module>
</%block>
Expand Down
6 changes: 6 additions & 0 deletions edx-platform/bragi/lms/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
</script>
% endif
<script type="text/javascript" src="${static.url(jsi18n_path)}"></script>

% if settings.DEBUG:
## Provides a fallback for gettext functions in development environment
<script type="text/javascript" src="${static.url('js/src/gettext_fallback.js')}"></script>
% endif

<script type="text/javascript" src="${static.url(ie11_fix_path)}"></script>
<% favicon_url = branding_api.get_favicon_url() %>
<link rel="icon" type="image/x-icon" href="${favicon_url}"/>
Expand Down
8 changes: 4 additions & 4 deletions edx-platform/bragi/lms/templates/widgets/help-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h1 style="margin: 0; color: #f1f2f3; align-self: center;font-weight: bold !impo
<hr>
<div style="font-size: 8pt; font-family: 'Poppins', sans-serif !important"; line-height: 1em>
<p>
eduNEXT is a company that provides online learning technologies powered by
Edunext is a company that provides online learning technologies powered by
the Open edX® platform. These technologies enable the authoring,
publication, and operation of online courses to a wide
audience, communication, and collaboration tools for learners
Expand All @@ -44,12 +44,12 @@ <h1 style="margin: 0; color: #f1f2f3; align-self: center;font-weight: bold !impo
<p>
edX and Open edX are registered trademarks of edX inc. The Open edX platform
is available to the world as open-source through the GNU Affero license.
eduNEXT is not endorsed, sponsored, or directly affiliated with edX inc, or
edunext is not endorsed, sponsored, or directly affiliated with edX inc, or
Open edX.
</p>
<p>
Your use of this eduNEXT cloud subscription is bound by our <a href="https://www.edunext.co/terms-of-use/" style="color:#00d47d;">terms of service</a>, and <a href="https://www.edunext.co/privacy/" style="color:#00d47d;">privacy policy</a>
Copyright © 2022 eduNEXT, All rights reserved.<br>
Your use of this edunext cloud subscription is bound by our <a href="https://www.edunext.co/terms-of-use/" style="color:#00d47d;">terms of service</a>, and <a href="https://www.edunext.co/privacy/" style="color:#00d47d;">privacy policy</a>
Copyright © 2024 edunext, All rights reserved.<br>
</p>
</div>
<div class="ednx-button-container" style="display:flex; justify-content: center; margin: 14px">
Expand Down