From 3ae27376a715548aba3709fa9e0b5d36b032dfd7 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Sun, 11 Aug 2024 16:38:01 +0200 Subject: [PATCH] Do not display mms correction --- view-webapp/src/main/sass/main.scss | 3 ++- view-webapp/src/main/webapp/tour-registration.inc.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/view-webapp/src/main/sass/main.scss b/view-webapp/src/main/sass/main.scss index 8062ff0..0fded2a 100644 --- a/view-webapp/src/main/sass/main.scss +++ b/view-webapp/src/main/sass/main.scss @@ -545,7 +545,8 @@ 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; } diff --git a/view-webapp/src/main/webapp/tour-registration.inc.html b/view-webapp/src/main/webapp/tour-registration.inc.html index d784246..6b265ad 100644 --- a/view-webapp/src/main/webapp/tour-registration.inc.html +++ b/view-webapp/src/main/webapp/tour-registration.inc.html @@ -82,7 +82,8 @@ #else $!part.egf #end - #rank($part.rank)#if($part.mmsCorrection) (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)#end + ## display MMS correction on the screen, but not when printed + #rank($part.rank)#if($part.mmsCorrection) (#if($part.mmsCorrection > 0)+#end$part.mmsCorrection)#end $part.rating #if($tour.pairing.type == 'MAC_MAHON') $mmsPlayersMap[$part.id]