fix is_active student flag logic and make moving with enrollment status
This commit is contained in:
+7
-3
@@ -525,7 +525,7 @@
|
||||
<!-- Statistics Start -->
|
||||
<div class="container-xxl py-2 content-section">
|
||||
<div class="container">
|
||||
<div class="home-stats" data-dashboard-endpoint="<?= site_url('api/administrator/dashboard') ?>">
|
||||
<div class="home-stats" data-dashboard-endpoint="/api/administrator/dashboard">
|
||||
<h1 class="d-flex justify-content-center p-md-1">Active Participants</h1>
|
||||
<br>
|
||||
<div class="stats-row">
|
||||
@@ -734,11 +734,15 @@
|
||||
window.addEventListener('load', function() {
|
||||
// Hide the spinner
|
||||
const spinner = document.getElementById('spinner');
|
||||
spinner.style.opacity = '0';
|
||||
if (spinner) {
|
||||
spinner.style.opacity = '0';
|
||||
}
|
||||
|
||||
// Remove spinner from DOM after fade out
|
||||
setTimeout(function() {
|
||||
spinner.style.display = 'none';
|
||||
if (spinner) {
|
||||
spinner.style.display = 'none';
|
||||
}
|
||||
|
||||
// Force show all content
|
||||
document.querySelectorAll('.content-section, h1, h2, h3, h4, h5, h6, p').forEach(function(el) {
|
||||
|
||||
Reference in New Issue
Block a user