TripleSeat templates, along with Futuri (both for header and transcript updates). Create SCORM course node script. Added some todos as well.

This commit is contained in:
Norm Rasmussen
2024-03-07 16:15:01 -05:00
parent 48acea45ba
commit 3490b97063
208 changed files with 6578 additions and 164 deletions

View File

@ -0,0 +1,24 @@
{% 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 %}
{% comment %} {% include "header" %}
<main class="np-main np-max-width np-page-container">
<div class="np-hidden-mobile" id="course-desktop">
{% include "course_desktop_view" %}
</div>
<div class="np-hidden-desktop" id="course-mobile">
{% include "course_mobile_view" %}
</div>
</main>
{% include "footer" %} {% endcomment %}