diff --git a/Template.Shared/Components/Layout/MainLayout.razor b/Template.Shared/Components/Layout/MainLayout.razor index 65aa5d8..b86279f 100644 --- a/Template.Shared/Components/Layout/MainLayout.razor +++ b/Template.Shared/Components/Layout/MainLayout.razor @@ -1,4 +1,5 @@ -@using Template.Shared.Core.Messages +@using System.Globalization +@using Template.Shared.Core.Messages @inherits LayoutComponentBase @inject IJSRuntime JS @inject BackNavigationService BackService @@ -36,6 +37,11 @@ { await JS.InvokeVoidAsync("goBack"); }; + + var culture = new CultureInfo("it-IT", false); + + CultureInfo.CurrentCulture = culture; + CultureInfo.CurrentUICulture = culture; } } \ No newline at end of file diff --git a/Template.Shared/Components/Layout/NavMenu.razor.css b/Template.Shared/Components/Layout/NavMenu.razor.css index 40836dc..fb5ee34 100644 --- a/Template.Shared/Components/Layout/NavMenu.razor.css +++ b/Template.Shared/Components/Layout/NavMenu.razor.css @@ -45,7 +45,7 @@ bottom: 15px; } -.nav-item ::deep .custom-plus-button .mud-icon-root { +.navbar ::deep .custom-plus-button .mud-icon-root { transition: .5s; transform: rotate(0); font-size: 2rem; @@ -57,7 +57,7 @@ transition: all 0.3s ease-in-out; } -.nav-item ::deep .custom-plus-button:focus .mud-icon-root { transform: rotate(225deg); } +.navbar ::deep .custom-plus-button:focus .mud-icon-root { transform: rotate(225deg); } .nav-item ::deep a { display: flex; diff --git a/Template.Shared/Components/Pages/Notifications.razor b/Template.Shared/Components/Pages/Notifications.razor index 8151533..4c5d964 100644 --- a/Template.Shared/Components/Pages/Notifications.razor +++ b/Template.Shared/Components/Pages/Notifications.razor @@ -1,9 +1,14 @@ @page "/Notifications" @attribute [Authorize] @using Template.Shared.Components.Layout +@using Template.Shared.Components.SingleElements +
+ +
+ @code { } \ No newline at end of file diff --git a/Template.Shared/Components/Pages/PersonalInfo.razor b/Template.Shared/Components/Pages/PersonalInfo.razor index 5235ea6..4a258d0 100644 --- a/Template.Shared/Components/Pages/PersonalInfo.razor +++ b/Template.Shared/Components/Pages/PersonalInfo.razor @@ -10,113 +10,118 @@ -
-
-
- - @UtilityString.ExtractInitials(UserSession.User.Fullname) - +@if (IsLoggedIn) +{ +
+
+
+ + @UtilityString.ExtractInitials(UserSession.User.Fullname) + -
- @UserSession.User.Fullname - @if (UserSession.User.KeyGroup is not null) - { - @(((KeyGroupEnum)UserSession.User.KeyGroup).ConvertToHumanReadable()) - } -
-
- -
- -