From 3a4a8ee33b599c5f556359ecd49dd439c09295ba Mon Sep 17 00:00:00 2001 From: maliming Date: Tue, 21 Jan 2025 09:48:13 +0800 Subject: [PATCH] Add `LogoUrl ` and `AppName ` to account layout. Resolve #21941 --- .../Themes/Basic/Layouts/Account.cshtml | 4 ++++ .../wwwroot/themes/basic/logo.svg | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/logo.svg diff --git a/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml b/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml index 02adac253b..1e743abf8a 100644 --- a/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml +++ b/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml @@ -57,6 +57,10 @@
+
+ @BrandingProvider.AppName +

@BrandingProvider.AppName

+
@if (MultiTenancyOptions.Value.IsEnabled && (TenantResolveResultAccessor.Result?.AppliedResolvers?.Contains(CookieTenantResolveContributor.ContributorName) == true || TenantResolveResultAccessor.Result?.AppliedResolvers?.Contains(QueryStringTenantResolveContributor.ContributorName) == true)) diff --git a/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/logo.svg b/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/logo.svg new file mode 100644 index 0000000000..2475fb48d1 --- /dev/null +++ b/modules/basic-theme/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/wwwroot/themes/basic/logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + +