Completed the playwright walmart screenshots script. Uploaded another Chubb CSV.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
const courseDefaultPageTitle = document.title.split(" | ")
|
||||
const courseDefaultPageTitle = document.title
|
||||
const courseName = '{{course.name}}'
|
||||
document.title = `${courseName} | ${courseDefaultPageTitle[1]}`
|
||||
const courseDescription = '{{course.short_description}}'
|
||||
@ -10,22 +10,22 @@
|
||||
<script> window.location.replace('/learners/sign_in')</script>
|
||||
{% else %}
|
||||
{% include "header" %}
|
||||
|
||||
|
||||
{% if course.ribbon == "VIDEO" %}
|
||||
{% include "video_tutorial_cover" %}
|
||||
{% else %}
|
||||
{% include "course_cover" %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% include "footer" %}
|
||||
|
||||
|
||||
{% if current_person.signed_in? == false and current_school.sso_active? %}
|
||||
<script>
|
||||
const redirectionLink = 'https://user-learn.pipedrive.com/app/courses/{{ course.properties.second_school_course_uuid }}'
|
||||
document.querySelector('#redirect-between-academies').setAttribute('href', redirectionLink)
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if current_person.signed_in? and current_school.properties.sandbox == false %}
|
||||
<script>
|
||||
function setupLatestCourses() {
|
||||
|
||||
Reference in New Issue
Block a user