diff --git a/src/OrchardCore.Themes/TheTheme/Views/NavbarUserMenu.cshtml b/src/OrchardCore.Themes/TheTheme/Views/NavbarUserMenu.cshtml new file mode 100644 index 00000000000..7783314f8d9 --- /dev/null +++ b/src/OrchardCore.Themes/TheTheme/Views/NavbarUserMenu.cshtml @@ -0,0 +1,8 @@ +@using OrchardCore.DisplayManagement +@using OrchardCore.DisplayManagement.ModelBinding +@using OrchardCore.Users.Models + +@inject IDisplayManager DisplayManager +@inject IUpdateModelAccessor UpdateModelAccessor + +@await DisplayAsync(await DisplayManager.BuildDisplayAsync(UpdateModelAccessor.ModelUpdater, (string)Model.Metadata.DisplayType)) diff --git a/src/OrchardCore.Themes/TheTheme/Views/UserNotificationNavbar.cshtml b/src/OrchardCore.Themes/TheTheme/Views/UserNotificationNavbar.cshtml index d3b01713242..1428d8dd5a9 100644 --- a/src/OrchardCore.Themes/TheTheme/Views/UserNotificationNavbar.cshtml +++ b/src/OrchardCore.Themes/TheTheme/Views/UserNotificationNavbar.cshtml @@ -10,51 +10,49 @@ @model UserNotificationNavbarViewModel
  • + +
  • + } +
  • + @T["Notification Center"] +
  • +