feat: do not auto-advance if there are less than 3 jurors
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
16a1b549af
commit
f7e7ceaba2
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue