Permissions for child clubs, also changed spaces for tabs

This commit is contained in:
Nicolas Margulies 2024-09-05 20:17:45 +02:00
parent 361de9f8b4
commit d1ef367bab
2 changed files with 4410 additions and 4376 deletions

File diff suppressed because it is too large Load Diff

View File

@ -304,7 +304,7 @@ class FutureUserDetailView(ProtectQuerysetMixin, LoginRequiredMixin, FormMixin,
# This software belongs to the BDE. # This software belongs to the BDE.
form.add_error('join_bde', _("You must join a club.")) form.add_error('join_bde', _("You must join a club."))
return super().form_invalid(form) return super().form_invalid(form)
if join_kfet and not join_bde: if join_kfet and not join_bde:
form.add_error('join_bde', _("You must also join the parent club BDE.")) form.add_error('join_bde', _("You must also join the parent club BDE."))
return super().form_invalid(form) return super().form_invalid(form)