diff --git a/backend/app/Views/StudentPortal.php b/backend/app/Views/StudentPortal.php index 533263e..5493a5e 100644 --- a/backend/app/Views/StudentPortal.php +++ b/backend/app/Views/StudentPortal.php @@ -824,6 +824,15 @@ class StudentPortal + +
+ + + 🎬 مشاهدة ملخص الذكاء الاصطناعي (AI Video) + + +
+
@@ -1239,6 +1248,22 @@ class StudentPortal badge.textContent = `الفحص السقراطي الذكي نشط (${checkpoints.length} نقاط فحص) 🧠`; } + // Update AI Video Button + const aiAssetsContainer = document.getElementById('ai_assets_container'); + if (aiAssetsContainer && les) { + if (les.ai_video_url) { + aiAssetsContainer.style.display = 'flex'; + aiAssetsContainer.innerHTML = ` + + 🎬 مشاهدة ملخص الذكاء الاصطناعي (AI Video) + + `; + } else { + aiAssetsContainer.style.display = 'none'; + aiAssetsContainer.innerHTML = ''; + } + } + // Render AI Timeline Chapters const chaptersList = document.getElementById('ai_timeline_chapters_list'); if (chaptersList) {