From e5c3f99491df21c251725879cb94fc8dac344bf6 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Fri, 8 Sep 2023 07:48:41 -0400 Subject: [PATCH] polish(dash): comment if student has > 9 units --- dashboard/templates/dashboard/portal.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dashboard/templates/dashboard/portal.html b/dashboard/templates/dashboard/portal.html index 63248b78..aa3d5e75 100644 --- a/dashboard/templates/dashboard/portal.html +++ b/dashboard/templates/dashboard/portal.html @@ -279,10 +279,18 @@

Your units

"Manage Units" button below, which lets you submit requests to unlock additional units or drop existing ones. - {% else %} + {% elif student.num_unlocked == 9 %} which is the maximum possible. You can use the "Manage Units" button below to request further changes. + {% else %} + which is actually... not supposed to happen (the maximum is 9). + 🤔 +
+ This could occur if a staff member manually edits your unlocked units + and doesn't respect the maximum of 9. + Alternatively, if you think you've found a bug on the website, please + open a GitHub issue. {% endif %}

{% endif %}