From 7c585983d91a691401d626b55583f1917c7b1328 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 10 Aug 2026 14:27:09 +0200 Subject: cockpit: show the assigned coach --- cockpit.css | 4 ++++ src/cockpit.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/cockpit.css b/cockpit.css index 61c4a06..6b6295a 100644 --- a/cockpit.css +++ b/cockpit.css @@ -138,6 +138,10 @@ flex-direction: column; } +#student-info-coach { + display: block; +} + #student-observation { margin-left: 2rem; margin-bottom: 1rem; diff --git a/src/cockpit.js b/src/cockpit.js index 1fd4470..6b2ac35 100644 --- a/src/cockpit.js +++ b/src/cockpit.js @@ -125,6 +125,8 @@ function updateStudentInfo() { const icon = document.getElementById("student-level-icon"); icon.src = student.graduation.getIcon(); + + document.getElementById("student-info-coach").innerHTML = student.graduation.coach; } document.getElementById("student-content").style.display = "block"; -- cgit v1.2.3