Add "check-in message" to registration types
authorMagnus Hagander <[email protected]>
Sun, 10 Aug 2025 12:58:08 +0000 (14:58 +0200)
committerMagnus Hagander <[email protected]>
Sun, 10 Aug 2025 12:58:08 +0000 (14:58 +0200)
commit9e36c59a888661b97898d3a3213c74e09c96c5ff
tree9a54899feed4a8c0c0bf38dd60392d00d8fda04f
parentd73bc198a9049d33e40240a6e1796fb103c4073d
Add "check-in message" to registration types

This message will be shown (highlighed) when an attendee is checked in,
and can be used to for example alert the person doing the check-in that
they should validate the registration by checking a student-id.

To do so, the "highlight this field" functionality is moved into the
backend and returned as part of the API, instead of the very limited "if
' NOT ' is present in the field text then highlight it" (used only for
unconfirmed policies) that was previously used.

Fixes #190
docs/confreg/registrations.md
docs/confreg/tickets.md
media/js/scanner.js
postgresqleu/confreg/backendforms.py
postgresqleu/confreg/checkin.py
postgresqleu/confreg/migrations/0118_registrationtype_checkinmessage.py [new file with mode: 0644]
postgresqleu/confreg/models.py