moved a bunch of churned customers templates to a hidden folder. Added to Sandata's script and the new groups. Notes.
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
<div class="courses-list container-fluid">
|
||||
<div class="courses-list-title">
|
||||
LATEST VIDEOS
|
||||
</div>
|
||||
<div class="courses-list-list row" id="latest">
|
||||
</div>
|
||||
<a class="courses-list-more" href="/app/catalog">
|
||||
More courses <i class="fa-solid fa-angle-right"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$('.courses-for-carousel').children().each(function() {
|
||||
if ($(this).attr('carousel') == 'latest') {
|
||||
$(this).clone().appendTo($('#latest'))
|
||||
}
|
||||
})
|
||||
|
||||
var $wrapper = $('#latest');
|
||||
$wrapper.children().sort(function(a, b) {
|
||||
return +a.getAttribute('latest-order') - +b.getAttribute('latest-order');
|
||||
})
|
||||
.appendTo($wrapper);
|
||||
</script>
|
||||
Reference in New Issue
Block a user