Cin7 templates. Some changes for Sandata. Downlaoded new templates.

This commit is contained in:
Norm Rasmussen
2024-04-17 17:28:06 -04:00
parent ca62198d9c
commit 7de269b38b
125 changed files with 95 additions and 82 deletions

View File

@ -25,10 +25,9 @@
} }
</style> </style>
<script> <script>
$( window ).on( "load", function() { $(document).ready(function() {
if(document.querySelector('[class="sc-hKpBwk dJbOiC Transcript_Caption"]').innerHTML.includes('Transcript for')) { if(document.querySelector('[class="sc-ktCSKO iBNVtU Transcript_Caption"]').innerHTML.includes('Transcript for')) {
document.querySelector('[class="sc-hKpBwk dJbOiC Transcript_Caption"]').innerHTML = "<h3 class='sc-hKpBwk dJbOiC Transcript_Caption'>Transcript</h3>"; document.querySelector('[class="sc-ktCSKO iBNVtU Transcript_Caption"]').innerHTML = "<h3 class='sc-ktCSKO iBNVtU Transcript_Caption'>Transcript</h3>";
} }
} });
);
</script> </script>

View File

@ -30,10 +30,10 @@
{{course.properties.course_duration}} min {{course.properties.course_duration}} min
</div> </div>
{% endif %} {% endif %}
{% unless course.properties.recommended_for_group == 'missing property: audience' %} {% unless course.properties.audience == 'missing property: audience' %}
<div class="recommended"> <div class="recommended">
<i class="far fa-users"></i> <i class="far fa-users"></i>
{{course.properties.recommended_for_group}} {{course.properties.audience}}
</div> </div>
{% endunless %} {% endunless %}
</div> </div>

View File

@ -1,5 +1,5 @@
{% if learning_path.new_content_available? %} {% if learning_path.new_content_available? %}
{% include "learning_path_new_content_banner" %} {% include "learning_path_new_content_banner" %}
{% else %} {% else %}
{% include "learning_path_completed_banner" %} {% include "learning_path_completed_banner" %}
{% endif %} {% endif %}

View File

@ -3,9 +3,9 @@
{% for category in learning_path.categories %} {% for category in learning_path.categories %}
{% if category.name contains 'B2B: Core' %} {% if category.name contains 'B2B: Core' %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content card-wrapper"> <div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content card-wrapper">
{% include "cards_learning_path_homepage" with learning_path %} {% include "cards_learning_path_homepage" with learning_path %}
</div> </div>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}

Some files were not shown because too many files have changed in this diff Show More