wolfe3d / sodata

Science Olympiad Data
GNU General Public License v3.0
3 stars 3 forks source link

Tournament schedule lock #62

Closed RyanTan8 closed 9 months ago

RyanTan8 commented 10 months ago

Added a button to tournamentteamassign.php that allows schedules to be locked, preventing officers from clicking the checkboxes once they are finalized (user privilege for locking schedules is currently set to 4 so that I could test it, but can be changed to 5)

Added a new variable "locked" to "tournament" with a default value of 0 (unlocked), see attached image

image

wolfe3d commented 9 months ago

It looks like you are locking each team individually, which I like. You only asked to add locked to the db in the tournament table, but it looks like you should add this to the team table.

RyanTan8 commented 9 months ago

Yes, sorry, I meant to add it to the team table initially to lock each team individually.