Show lesson marks and attendance on the person card.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-21 13:42:37 +03:00
co-authored by Cursor
parent 564776883a
commit db6e60929d
18 changed files with 800 additions and 20 deletions
+8
View File
@@ -11,6 +11,14 @@ public static class AttendanceStatuses
public const string Late = "late";
public const string Absent = "absent";
public static string LocaleKey(string status) => status switch
{
Present => "AttendancePresent",
Late => "AttendanceLate",
Absent => "AttendanceAbsent",
_ => "Attendance" + char.ToUpperInvariant(status[0]) + status[1..],
};
}
/// <summary>