mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
This will: * set up potypo * add wordlists, edgecases and phrases * fix english typos across the codebase * fix german typos and translation
This commit is contained in:
committed by
Raphael Michel
parent
4d249553bf
commit
1689925508
@@ -474,7 +474,7 @@ class TeamMemberView(OrganizerDetailViewMixin, OrganizerPermissionRequiredMixin,
|
||||
can_change_teams=True, members__isnull=False
|
||||
).exists()
|
||||
if not other_admin_teams and self.object.can_change_teams and self.object.members.count() == 1:
|
||||
messages.error(self.request, _('You cannot remove the last member from this team as noone would '
|
||||
messages.error(self.request, _('You cannot remove the last member from this team as no one would '
|
||||
'be left with the permission to change teams.'))
|
||||
return redirect(self.get_success_url())
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user