diff --git a/templates/web/common/includes/donate_banner.tt.html b/templates/web/common/includes/donate_banner.tt.html index 4ac25808ce301..ec2e013ecf13a 100644 --- a/templates/web/common/includes/donate_banner.tt.html +++ b/templates/web/common/includes/donate_banner.tt.html @@ -50,11 +50,11 @@ } function DonationButton() { - setBannerCookie('off_donation_banner_2023_a', 1, 180); + setBannerCookie('off_donation_banner_2024_a', 1, 180); bannerID.style.display = 'none'; } - if (getBannerCookie('off_donation_banner_2023_a') !== '') { + if (getBannerCookie('off_donation_banner_2024_a') !== '') { bannerID.style.display = 'none'; } else { bannerID.style.display = 'flex'; diff --git a/templates/web/common/site_layout.tt.html b/templates/web/common/site_layout.tt.html index ce91b88bf64f6..f36e0b2e6d452 100644 --- a/templates/web/common/site_layout.tt.html +++ b/templates/web/common/site_layout.tt.html @@ -279,12 +279,15 @@ [% INCLUDE 'web/common/includes/offdays_banner.tt.html' %] [% ELSIF 1 == 2 %] [% INCLUDE 'web/common/includes/packagings_banner.tt.html' %] - [% ELSE %] + [% ELSIF 2 == 3 %] [%# we keep the old code so that we can easily put back the donation banner %] [% PROCESS 'web/common/includes/off_days_2024_banner.tt.html' %] [% banner_off_days_2024_top %] [% PROCESS 'web/common/includes/donate_banner.tt.html' %] [% banner_main %] + [% ELSE %] + [% PROCESS 'web/common/includes/donate_banner.tt.html' %] + [% banner_main %] [% END %] [% END %]