feat: do not auto-advance if there are less than 3 jurors
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2023-12-16 03:09:42 +01:00
parent 16a1b549af
commit f7e7ceaba2
1 changed files with 2 additions and 1 deletions

View File

@ -318,7 +318,8 @@ class MayAdvanceView(EventPermissionRequired, SubmissionMixin, View):
>= int( >= int(
num_jurors num_jurors
* self.request.event.pretalx_musicrate_settings.advance_threshold * self.request.event.pretalx_musicrate_settings.advance_threshold
), )
and num_jurors > 2,
"statusText": ngettext( "statusText": ngettext(
"%(num_ratings)d of %(num_jurors)d has rated this submission", "%(num_ratings)d of %(num_jurors)d has rated this submission",
"%(num_ratings)d of %(num_jurors)d have rated this submission", "%(num_ratings)d of %(num_jurors)d have rated this submission",