Option to use baseMMS+round/2 for SOS

This commit is contained in:
Claude Brisson
2024-03-11 06:15:10 +01:00
parent ea12fda4b7
commit 412a80f7dd
5 changed files with 34 additions and 13 deletions

View File

@@ -216,6 +216,7 @@ onLoad(() => {
main: {
mmsValueAbsent: form.val('mmsValueAbsent'),
roundDownScore: form.val('roundDownScore'),
sosValueAbsentUseBase: form.val('sosValueAbsentUseBase'),
firstSeedLastRound: form.val('firstSeedLastRound'),
firstSeedAddCrit: form.val('firstSeedAddRating') ? 'RATING' : 'NONE', // TODO use client side boolean
firstSeed: form.val('firstSeed'),

View File

@@ -36,6 +36,18 @@
</label>
</div>
</div>
<div class="inline fields">
<div class="field">
<label>
For SOS/SOSOS calculations, use
<select name="sosValueAbsentUseBase">
<option value="true" #if($tour.pairing.main.sosValueAbsentUseBase) selected #end>base MMS</option>
<option value="false" #if(!$tour.pairing.main.sosValueAbsentUseBase) selected #end>base MMS + rounds/2</option>
</select>
of self player when absent from rounds
</label>
</div>
</div>
#end
<div class="ui fluid styled accordion">
<div class="title"><i class="dropdown icon"></i>Seeding methods inside groups of same score</div>