Fix threshold edition

This commit is contained in:
Claude Brisson
2024-01-25 08:34:02 +01:00
parent f2e9cd5acc
commit 3db1257469
3 changed files with 6 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ French rules Règles françaises
Given name Prénom Given name Prénom
Goban Goban Goban Goban
Hd correction Correction hd Hd correction Correction hd
Hd treshold Seuil hd Hd threshold Seuil hd
How to use Comment utiliser How to use Comment utiliser
Import Importer Import Importer
Import tournament Importer un tournoi Import tournament Importer un tournoi
@@ -151,4 +151,4 @@ version 0.1 supports the version 0.1 supporte le système dappariement
white blanc white blanc
White Blanc White Blanc
white vs. black blanc vs. Noir white vs. black blanc vs. Noir
confirmed. confirmé(s). confirmed. confirmé(s).

View File

@@ -138,7 +138,7 @@ onLoad(() => {
}, },
handicap: { handicap: {
correction: -form.val('correction'), correction: -form.val('correction'),
treshold: form.val('treshold') threshold: form.val('threshold')
} }
}, },
timeSystem: { timeSystem: {

View File

@@ -108,11 +108,11 @@
</select> </select>
</div> </div>
<div class="mms pairing four wide field #if($tour && $tour.pairing.type != 'MAC_MAHON') hidden #end"> <div class="mms pairing four wide field #if($tour && $tour.pairing.type != 'MAC_MAHON') hidden #end">
<label>Hd treshold</label> <label>Hd threshold</label>
<span class="info"></span> <span class="info"></span>
<select name="treshold"> <select name="threshold">
#set($limit = 0) #set($limit = 0)
#if($tour && "$!tour.pairing.handicap.treshold" != "") #set($limit = $tour.pairing.handicap.treshold) #end #if($tour && "$!tour.pairing.handicap.threshold" != "") #set($limit = $tour.pairing.handicap.threshold) #end
#levels($limit) #levels($limit)
</select> </select>
</div> </div>