From 316875afdcda03b0cc61befe5d34947f32bc8af8 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 8 Feb 2026 21:12:33 +0100 Subject: [PATCH] Update app/routes/colles.tsx --- app/routes/colles.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/colles.tsx b/app/routes/colles.tsx index 0acba95..8ada92e 100644 --- a/app/routes/colles.tsx +++ b/app/routes/colles.tsx @@ -108,7 +108,7 @@ export default function ColleDetailPage() { } // Mathématiques - if (colle.subject.name === "Mathématiques") { + if (colle.subject.name === "Mathématiques" && (user.className == "MP-1" || user.className == "MP-2")) { const week = getColleWeek(new Date(colle.date)); // Syllabus weeks are 1-indexed if (week) return "http://www.mp1.bginette.com/Colles/ColleXX.pdf".replace(