diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavBar.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavBar.razor index bb680883ea..467e7ba42c 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavBar.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavBar.razor @@ -2,49 +2,16 @@ @inherits AppComponentBase;
- - - - @Localizer[nameof(AppStrings.Home)] - - - - @*#if (sample == "Todo")*@ - - - - @Localizer[nameof(AppStrings.Todo)] - - - @*#endif*@ - - @*#if (sample == "Admin")*@ - - - - @Localizer[nameof(AppStrings.Dashboard)] - - - - - - - @Localizer[nameof(AppStrings.Products)] - - - - - - - @Localizer[nameof(AppStrings.Categories)] - - - @*#endif*@ - - - - - @Localizer[nameof(AppStrings.Terms)] - - + + + @*#if (sample == "Todo")*@ + + @*#endif*@ + @*#if (sample == "Admin")*@ + + + + @*#endif*@ + +
\ No newline at end of file diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavPanel.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavPanel.razor index bc2abde553..fdd55d4843 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavPanel.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Layout/NavPanel.razor @@ -63,6 +63,7 @@ + + @Localizer[nameof(AppStrings.ProfileTitle)] + + @Localizer[nameof(AppStrings.Language)] @@ -55,11 +59,10 @@ - - @Localizer[nameof(AppStrings.ProfileTitle)] - - - + @Localizer[nameof(AppStrings.SignOut)] diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Categories/CategoriesPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Categories/CategoriesPage.razor index df85275898..dbc86a99ec 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Categories/CategoriesPage.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Categories/CategoriesPage.razor @@ -66,7 +66,16 @@ - + + + @Localizer[nameof(AppStrings.Page)] @(value.CurrentPageIndex + 1) @Localizer[nameof(AppStrings.Of)] @(value.LastPageIndex + 1) + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Products/ProductsPage.razor b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Products/ProductsPage.razor index 937d6a595d..651c0cf8d1 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Products/ProductsPage.razor +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Components/Pages/Authorized/Products/ProductsPage.razor @@ -78,7 +78,16 @@ - + + + @Localizer[nameof(AppStrings.Page)] @(value.CurrentPageIndex + 1) @Localizer[nameof(AppStrings.Of)] @(value.LastPageIndex + 1) + + diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Extensions/IClientCoreServiceCollectionExtensions.cs b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Extensions/IClientCoreServiceCollectionExtensions.cs index e298ce2c75..adc05da2fb 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Extensions/IClientCoreServiceCollectionExtensions.cs +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Client/Boilerplate.Client.Core/Extensions/IClientCoreServiceCollectionExtensions.cs @@ -44,7 +44,7 @@ public static IServiceCollection AddClientCoreProjectServices(this IServiceColle services.AddSessioned(); services.AddSessioned(); services.AddSessioned(); - services.AddSessioned(sp => + services.AddSessioned(sp => { var authenticationStateProvider = ActivatorUtilities.CreateInstance(sp); authenticationStateProvider.OnInit(); diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx index a66f43540e..fbbb0d4adb 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.fa.resx @@ -1033,6 +1033,27 @@ پنل ادمین + + + {0} آیتم + + + برو به اولین برگه + + + برو به برگه قبل + + + برو به برگه بعد + + + برو به آخرین برگه + + + برگه + + + از تعداد محصولات diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx index 5949f0f411..c2289002da 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.nl.resx @@ -1033,6 +1033,27 @@ Beheerderspaneel + + + {0} items + + + Ga naar de eerste pagina + + + Ga naar de vorige pagina + + + Ga naar de volgende pagina + + + Ga naar de laatste pagina + + + Pagina + + + tot Aantal producten diff --git a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx index 4ca26211f3..6d3bc4291d 100644 --- a/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx +++ b/src/Templates/Boilerplate/Bit.Boilerplate/src/Shared/Resources/AppStrings.resx @@ -1033,6 +1033,27 @@ Admin panel + + + {0} items + + + Go to the first page + + + Go to the previous page + + + Go to the next page + + + Go to the last page + + + Page + + + of Products count