Larson Texts notes. Lots of Pipedrive Template changes. Started my GS Script for Timeline events.
This commit is contained in:
@ -1,3 +1,11 @@
|
||||
<script>
|
||||
const courseDefaultPageTitle = document.title.split(" | ")
|
||||
const courseName = '{{course.name}}'
|
||||
document.title = `${courseName} | ${courseDefaultPageTitle[1]}`
|
||||
const courseDescription = '{{course.short_description}}'
|
||||
$('head').append( `<meta name="description" content="${courseDescription}">` );
|
||||
</script>
|
||||
|
||||
{% if current_person.signed_in? == false and current_school.sso_active? == false %}
|
||||
<script> window.location.replace('/learners/sign_in')</script>
|
||||
{% else %}
|
||||
@ -18,7 +26,7 @@
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% if current_person.signed_in? and current_school.properties.sandbox == false %}
|
||||
<script>
|
||||
function setupLatestCourses() {
|
||||
let newCourse = '{{ course.id }}';
|
||||
|
||||
Reference in New Issue
Block a user