aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cockpit.css4
-rw-r--r--src/cockpit.js2
2 files changed, 6 insertions, 0 deletions
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";