From 746aa22561bfd2e73235bebefc752be81437998e Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Tue, 7 Jul 2020 10:57:18 +0300 Subject: [PATCH] add layout to loggedout.cshtml #4647 --- .../Pages/Account/LoggedOut.cshtml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml index 0e7b14236a..abeaf25610 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml +++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/LoggedOut.cshtml @@ -3,16 +3,20 @@ @using Volo.Abp.Account.Localization @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Web.Pages.Account +@using Volo.Abp.AspNetCore.Mvc.UI.Theming +@inject IThemeManager ThemeManager @inject IHtmlLocalizer L - +@{ + Layout = ThemeManager.CurrentTheme.GetApplicationLayout(); +} @section scripts { - + } @section styles { - + } @@ -28,4 +32,4 @@ } - + \ No newline at end of file