mirror of https://gitlab.crans.org/bde/nk20
Permissions for child clubs, also changed spaces for tabs
This commit is contained in:
parent
361de9f8b4
commit
d1ef367bab
File diff suppressed because it is too large
Load Diff
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue