Skip to content

Conversation

@Sarosim
Copy link
Contributor

@Sarosim Sarosim commented Dec 8, 2021

Description

In order to avoid participants withdrawing if hackathon status is in-progress or anything further, the withdraw button is disabled based on hackathon.status

Pull request type

Related Issue

Configuration instructions

Testing

Manual testing: checked all hackathon statuses and "Withdraw as Participant" button is behaving as expected.

Screenshots

Additional Information

Does this introduce a breaking change

  • Yes
  • No

Copy link
Member

@stefdworschak stefdworschak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually as per #229, this should be for participants which is in enrollpart.html not in enrollstaff.html which is the logic for Judges/Facilitators.
Also, unenrollment should not be allowed as soon as teams are assigned or the status is hack_in_progress, judging, finished or deleted.

@Sarosim
Copy link
Contributor Author

Sarosim commented Dec 15, 2021

I'll fix this @stefdworschak just still not feeling well, recovering from COVID :(

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

Successfully merging this pull request may close these issues.

2 participants