diff --git a/resources/views/videos/partials/match/scoreboard/overlay.blade.php b/resources/views/videos/partials/match/scoreboard/overlay.blade.php index 6264a13..80b7b1f 100644 --- a/resources/views/videos/partials/match/scoreboard/overlay.blade.php +++ b/resources/views/videos/partials/match/scoreboard/overlay.blade.php @@ -37,10 +37,10 @@ {{-- RED / AKA --}}
-
CLUB
LOGO
+
- FLAG + {{ $msbState['red']['name'] ?: 'RED' }}
@@ -76,14 +76,14 @@
{{ $msbState['blue']['name'] ?: 'BLUE' }} - FLAG +
C1 {{ $msbState['blue']['club'] ?? '' }}
-
CLUB
LOGO
+
diff --git a/resources/views/videos/partials/match/scoreboard/script.blade.php b/resources/views/videos/partials/match/scoreboard/script.blade.php index 6a7ae5d..926fb16 100644 --- a/resources/views/videos/partials/match/scoreboard/script.blade.php +++ b/resources/views/videos/partials/match/scoreboard/script.blade.php @@ -78,8 +78,10 @@ el.textContent = val || ''; if (hideIfEmpty) el.toggleAttribute('data-msb-empty', !val); }; - // Replace the placeholder "CLUB LOGO" text with a real - // (or leave the placeholder if no image). Never touches inline styles. + // When a club_logo path is set, drop a real into the empty + // placeholder box. When it isn't, the box stays empty — the + // inline-styled background keeps the slot visible without + // showing the stale "CLUB LOGO" text that used to render there. const setImage = (name, path) => { const el = $(name); if (!el) return; if (!path) return; @@ -90,8 +92,9 @@ img.style.cssText = 'width:100%;height:100%;object-fit:contain;display:block'; el.appendChild(img); }; - // Swap the placeholder "FLAG" box for a real flag image by pointing - // its background-image at the self-hosted flag-icons SVG. + // When an ISO2 is set, point the flag box's background-image at + // the self-hosted flag-icons SVG. When it isn't, the empty box + // stays empty — no "FLAG" placeholder text. const setFlag = (name, iso2) => { const el = $(name); if (!el) return; const code = (iso2 || '').toLowerCase();