Skip to content
New issue

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

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

Already on GitHub? # to your account

Contest listing displays "Join" where it should say "Spectate" #544

Closed
hnrgu opened this issue Feb 17, 2017 · 3 comments · Fixed by #1473 or #1765
Closed

Contest listing displays "Join" where it should say "Spectate" #544

hnrgu opened this issue Feb 17, 2017 · 3 comments · Fixed by #1473 or #1765

Comments

@hnrgu
Copy link

hnrgu commented Feb 17, 2017

Contest listing displays "Join" even after finishing contest.

Clicking on the "Join" button results in an alert.

@kiritofeng
Copy link
Member

kiritofeng commented Feb 18, 2017

This is because the code in site/templates/contest/list.jade does not check if you have participated in said contest

@kiritofeng kiritofeng self-assigned this Feb 18, 2017
@quantum5
Copy link
Member

Wow @kiritofeng are you anywhere near finishing this?

@kiritofeng kiritofeng removed their assignment Oct 18, 2018
@Xyene Xyene closed this as completed in 324bb18 Mar 28, 2020
@Carson-Tang
Copy link
Member

The change from #1272 did not fix the issue as contest.is_in_contest checks whether the user is currently participating in the contest rather than if the user has participated.

@Xyene Xyene reopened this Apr 4, 2020
Ninjaclasher added a commit to Ninjaclasher/site that referenced this issue Jun 30, 2020
Ninjaclasher added a commit to Ninjaclasher/site that referenced this issue Jul 1, 2020
quantum5 pushed a commit that referenced this issue Jul 1, 2020
@quantum5 quantum5 reopened this Jul 1, 2020
outloudvi pushed a commit to SchOJ/site that referenced this issue Oct 27, 2020
malbareda pushed a commit to malbareda/JOEL-web that referenced this issue Jan 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
5 participants