Print komi on result sheets

This commit is contained in:
Claude Brisson
2024-04-13 14:22:56 +02:00
parent 4594c5cd44
commit 18f212f492
2 changed files with 7 additions and 2 deletions

View File

@@ -631,7 +631,7 @@
gap: 1em; gap: 1em;
.equal { .equal {
padding: 0.2em 1em; padding: 1em;
border: solid 1px gray; border: solid 1px gray;
} }
@@ -652,6 +652,9 @@
font-style: italic; font-style: italic;
text-align: left; text-align: left;
flex: 1; flex: 1;
&:not(:first-child) {
padding-left: 6em;
}
} }
} }
} }

View File

@@ -35,7 +35,9 @@
<div class="subtitle">Result sheet</div> <div class="subtitle">Result sheet</div>
<div class="details"> <div class="details">
<div>Table $game.t</div> <div>Table $game.t</div>
<div>Hd $game.h</div> #set($komi = $tour.komi)
#if($game.h) #set($komi = $komi - $math.floor($komi)) #end
<div>Handicap $game.h &nbsp;&dash;&nbsp; Komi $komi</div>
<div>Round $round</div> <div>Round $round</div>
</div> </div>
<div class="instructions"> <div class="instructions">