From 8a2a05caf572e48f4a228f8f984799065426f88a Mon Sep 17 00:00:00 2001 From: Mike Alhayek Date: Tue, 20 Sep 2022 10:52:57 -0700 Subject: [PATCH 1/2] Fix search box buttons and input size consistency --- .../Views/ListPartDetailAdmin.cshtml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/OrchardCore.Modules/OrchardCore.Lists/Views/ListPartDetailAdmin.cshtml b/src/OrchardCore.Modules/OrchardCore.Lists/Views/ListPartDetailAdmin.cshtml index 6741ac25255..1338876477c 100644 --- a/src/OrchardCore.Modules/OrchardCore.Lists/Views/ListPartDetailAdmin.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Lists/Views/ListPartDetailAdmin.cshtml @@ -54,7 +54,7 @@ else
-
+
- + @T["Edit {0}", @Model.ListPart.ContentItem.DisplayText] - @if (authorizedContentTypeDefinitions.Count() == 1) + @if (authorizedContentTypeDefinitions.Count == 1) { var contentTypeDefinition = authorizedContentTypeDefinitions.FirstOrDefault(); - + @T["Create {0}", contentTypeDefinition.DisplayName] } - else if (authorizedContentTypeDefinitions.Count() > 1) + else if (authorizedContentTypeDefinitions.Count > 1) {