From a6286055ba87c7d7a15112b6785bda6df41c9fea Mon Sep 17 00:00:00 2001 From: vercah Date: Wed, 22 Nov 2023 19:53:53 +0100 Subject: [PATCH] fof main page update --- app/Components/UpperHomePrague/upperHomePrague.latte | 9 ++++++--- .../Fof/DefaultModule/templates/Default/default.latte | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/Components/UpperHomePrague/upperHomePrague.latte b/app/Components/UpperHomePrague/upperHomePrague.latte index a85cf303..4d16ecce 100644 --- a/app/Components/UpperHomePrague/upperHomePrague.latte +++ b/app/Components/UpperHomePrague/upperHomePrague.latte @@ -118,9 +118,12 @@ -
- {control countdown} -
+{if $gamePhaseCalculator->isRegistration(App\Models\GamePhaseCalculator::BEFORE)} +
+ {control countdown} +
+{/if} +
{if $gamePhaseCalculator->isGame(App\Models\GamePhaseCalculator::AFTER)}
diff --git a/app/Modules/Fof/DefaultModule/templates/Default/default.latte b/app/Modules/Fof/DefaultModule/templates/Default/default.latte index 359902e7..31a09ba0 100644 --- a/app/Modules/Fof/DefaultModule/templates/Default/default.latte +++ b/app/Modules/Fof/DefaultModule/templates/Default/default.latte @@ -32,8 +32,8 @@ {/switch}