diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-06-24 09:18:26 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-06-24 09:18:26 +0200 |
| commit | af8585faa1aa7c39564c583963349c4a2922df9c (patch) | |
| tree | 5a806a738a76e5f928e68e4def47e0b3a857d490 /js/mock.js | |
| parent | 13f9914757b2a72e77369859bbaec35339f31446 (diff) | |
| download | bycs-sol-af8585faa1aa7c39564c583963349c4a2922df9c.tar.gz bycs-sol-af8585faa1aa7c39564c583963349c4a2922df9c.zip | |
cockpit: finish prototype UI
* remove process and calendar
* add observation period
* improve mocking
Diffstat (limited to 'js/mock.js')
| -rw-r--r-- | js/mock.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,7 @@ for (const s of students) { graduationChanges[s.name] = [ GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), + new GraduationChange(new Date(), s.id, s.name, "Änderung", "", "", '{"type": "ObservationStart"}'), ]; break; case "b b b": @@ -55,6 +56,8 @@ for (const s of students) { GraduationChange.newRedPointChange(s, "", "Florian Fischer"), ]; } + // Build the student's graduation + Graduation.from(s, graduationChanges[s.name]); } function fetchGraduationMock(s) { |
