From 5842073f91319e335e7f9f6aea7130214edcd103 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 20 Aug 2020 11:08:21 -0500 Subject: [PATCH] include "all" meta button on profile include full humanizer package to library bug in russian translations --- SharedLibraryCore/SharedLibraryCore.csproj | 6 +----- WebfrontCore/Startup.cs | 1 + WebfrontCore/Views/Client/Profile/Index.cshtml | 6 +++++- WebfrontCore/WebfrontCore.csproj | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/SharedLibraryCore/SharedLibraryCore.csproj b/SharedLibraryCore/SharedLibraryCore.csproj index 1d78e30d2..5a550a17b 100644 --- a/SharedLibraryCore/SharedLibraryCore.csproj +++ b/SharedLibraryCore/SharedLibraryCore.csproj @@ -32,11 +32,7 @@ - - - - - + diff --git a/WebfrontCore/Startup.cs b/WebfrontCore/Startup.cs index c2eb7c4a3..6db504e26 100644 --- a/WebfrontCore/Startup.cs +++ b/WebfrontCore/Startup.cs @@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ApplicationParts; +using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using SharedLibraryCore; diff --git a/WebfrontCore/Views/Client/Profile/Index.cshtml b/WebfrontCore/Views/Client/Profile/Index.cshtml index 4d2350ce5..5bf2fd2b7 100644 --- a/WebfrontCore/Views/Client/Profile/Index.cshtml +++ b/WebfrontCore/Views/Client/Profile/Index.cshtml @@ -121,9 +121,13 @@
+ @ViewBag.Localization["META_TYPE_ALL_NAME"] + @foreach (MetaType type in Enum.GetValues(typeof(MetaType))) { if (!ignoredMetaTypes.Contains(type)) diff --git a/WebfrontCore/WebfrontCore.csproj b/WebfrontCore/WebfrontCore.csproj index de3d3302f..31a011f39 100644 --- a/WebfrontCore/WebfrontCore.csproj +++ b/WebfrontCore/WebfrontCore.csproj @@ -64,8 +64,8 @@ - +