From db8f1e2e825d11a86cc4d01c1ab229a7c4ece983 Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Thu, 21 May 2026 17:42:44 +0300 Subject: [PATCH 1/2] WIP: start footer version year fix (checkpoint) From b60d70dfd78cb067c8c78352fc6116a771831ec1 Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Thu, 21 May 2026 17:45:28 +0300 Subject: [PATCH 2/2] fix(ui): move footer version next to dynamic year --- Views/Shared/_Layout.cshtml | 5 ++--- tests/Wayfarer.Tests/Versioning/AppVersionDisplayTests.cs | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Views/Shared/_Layout.cshtml b/Views/Shared/_Layout.cshtml index decf1ebe..b2490b4f 100644 --- a/Views/Shared/_Layout.cshtml +++ b/Views/Shared/_Layout.cshtml @@ -136,7 +136,7 @@ diff --git a/tests/Wayfarer.Tests/Versioning/AppVersionDisplayTests.cs b/tests/Wayfarer.Tests/Versioning/AppVersionDisplayTests.cs index f86e117b..3ad57c39 100644 --- a/tests/Wayfarer.Tests/Versioning/AppVersionDisplayTests.cs +++ b/tests/Wayfarer.Tests/Versioning/AppVersionDisplayTests.cs @@ -31,6 +31,9 @@ public void SharedLayout_UsesProviderBackedFooterHelper() layout.Should().Contain("@inject IAppVersionProvider AppVersionProvider"); layout.Should().Contain("@AppVersionDisplay.FooterText(AppVersionProvider)"); + layout.Should().Contain("© @DateTime.UtcNow.Year - @AppVersionDisplay.FooterText(AppVersionProvider) by"); + layout.Should().NotContain("© 2025"); + layout.Should().NotContain("Privacy -"); layout.Should().NotContain("Wayfarer v1.4.0"); }