Do not display mms correction

This commit is contained in:
Claude Brisson
2024-08-11 16:38:01 +02:00
parent 9cee68a489
commit 3ae27376a7
2 changed files with 4 additions and 2 deletions

View File

@@ -545,7 +545,8 @@
margin-top: 0.1em !important; margin-top: 0.1em !important;
} }
#header, #logo, #lang, .steps, #filter-box, #reglist-mode, #footer, #unpairables, #pairing-buttons, button, #standings-params, #logout, .pairing-stats, .result-sheets, .toggle, #overview, .tables-exclusion, .button { /* TODO - plenty of those elements could just use the .noprint class */
#header, #logo, #lang, .steps, #filter-box, #reglist-mode, #footer, #unpairables, #pairing-buttons, button, #standings-params, #logout, .pairing-stats, .result-sheets, .toggle, #overview, .tables-exclusion, .button, .noprint {
display: none !important; display: none !important;
} }

View File

@@ -82,7 +82,8 @@
#else #else
<td>$!part.egf</td> <td>$!part.egf</td>
#end #end
<td data-sort="$part.rank">#rank($part.rank)#if($part.mmsCorrection) (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)#end</td> ## display MMS correction on the screen, but not when printed
<td data-sort="$part.rank">#rank($part.rank)#if($part.mmsCorrection)<span class="noprint"> (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)</span>#end</td>
<td>$part.rating</td> <td>$part.rating</td>
#if($tour.pairing.type == 'MAC_MAHON') #if($tour.pairing.type == 'MAC_MAHON')
<td>$mmsPlayersMap[$part.id]</td> <td>$mmsPlayersMap[$part.id]</td>