small script changes and notes

This commit is contained in:
Norm Rasmussen
2023-05-12 16:45:50 -04:00
parent aa64ae8ba5
commit 5c8b9a7a3b
29 changed files with 695 additions and 1702 deletions

View File

@ -11,6 +11,14 @@
{% endif %}
{% endfor %}
{% if course.properties.skip_course_cover_page == true %}
{% if course.enrolled? %}
<script>window.location.replace("{% route course_viewer, course_id: course.id, learning_path_id: params.learning_path_id %}")</script>
{% else %}
<script>window.location.replace("{% route course_enrollment, code: course.enrollment_code %}")</script>
{% endif %}
{% endif %}
{% include "header", current_page_orgin: "catalog" %}
<main class="np-main np-page-container page--course-overview">