Updated Source & Supplier's Templates and moved them to sandbox.

This commit is contained in:
Norm Rasmussen
2024-09-24 11:19:51 -04:00
parent f25622067f
commit 9cec57f995
41 changed files with 1164 additions and 1896 deletions

View File

@ -4,31 +4,13 @@
</i>
</div>
<div class="np-top-title">
<a href="javascript:goBack();" class="np-back-button" aria-label="{% t shared.go_back %}">
<a href="{% route home %}" class="np-back-button" aria-label="{% t shared.go_back %}">
<i class="far fa-arrow-left np-hidden-mobile np-icon-back"></i>
</a>
{% comment %} {{ course.name }} {% endcomment %}
{{ course.name }}
</div>
<div class="course-image-wrapper np-hidden-desktop">
<div class="course-title ">{{course.name}}</div>
<img
src="{{ course.image_url }}"
class="np-top-image np-hidden-desktop"
alt="{{ course.name }}"
/>
</div>
<script>
function goBack() {
const fallbackUrl = '/app';
var prevPage = window.location.href;
window.history.go(-1);
setTimeout(function(){
if (window.location.href == prevPage) {
window.location.href = fallbackUrl;
}
}, 800);
}
</script>
<img
src="{{ course.image_url }}"
class="np-top-image np-hidden-desktop"
alt="{{ course.name }}"
/>