From 367954fe15dcdd467e258b7228b139e4c8b02068 Mon Sep 17 00:00:00 2001
From: Florian Fischer
Date: Thu, 28 May 2026 15:26:23 +0200
Subject: cockpit: only show student-content if a student is selected
---
cockpit/cockpit.html | 2 +-
cockpit/js/cockpit.js | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/cockpit/cockpit.html b/cockpit/cockpit.html
index c80f7e0..1ba57c9 100644
--- a/cockpit/cockpit.html
+++ b/cockpit/cockpit.html
@@ -28,7 +28,7 @@
-
+
![]()
diff --git a/cockpit/js/cockpit.js b/cockpit/js/cockpit.js
index 3b54f67..f732cf0 100644
--- a/cockpit/js/cockpit.js
+++ b/cockpit/js/cockpit.js
@@ -222,6 +222,8 @@ function updateStudentInfo() {
renderGraduationStickers(student.graduation, document.getElementById("student-info-stickers"));
renderGraduationBonus(student.graduation, document.getElementById("student-info-stickers"));
}
+
+ document.getElementById("student-content").style.display = "block";
}
function renderGraduationLevel(graduation, node) {
--
cgit v1.2.3