Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add icon/mark to leaderboard that indicates student has passed project attempt #1/#2 #28

Open
nishiikata opened this issue Apr 15, 2024 · 0 comments

Comments

@nishiikata
Copy link

The UI could be improved but for starters it would be cool if it could be like

#-------Name---------Score
1------Person1 1️⃣--------90
2------Person2-----------88
3------Person3 1️⃣--------87

Ideally the code would look like (snippet is based from here)

 <div class="">{{ enrollment.has_passed_attempt1|yesno:"1️⃣,(empty string here)"  }}</div>

if there was a attempt1 property on the class

I'd like to somehow hook up this class here

<li>Status: {{ submission.passed|yesno:"Passed,Failed" }}</li>

but I am not sure how leaderboard html would differentiate submission 1 from 2 without changing or adding some db data. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant