diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Admin/Display.cshtml b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Admin/Display.cshtml index e716ccfff53..32eceece3e6 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Admin/Display.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Admin/Display.cshtml @@ -1,7 +1 @@ -@using OrchardCore.ContentManagement -@using OrchardCore.Mvc.Utilities -@{ - ContentItem contentItem = Model.ContentItem; - //Html.AddPageClassNames("detail-" + contentItem.ContentType.HtmlClassify()); -} @await DisplayAsync(Model) diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Display.cshtml b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Display.cshtml index 714da684a66..32eceece3e6 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Display.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Display.cshtml @@ -1,7 +1 @@ -@using OrchardCore.ContentManagement -@using OrchardCore.Mvc.Utilities -@{ - ContentItem contentItem = Model.ContentItem; - //Html.AddPageClassNames("detail-" + contentItem.ContentType.HtmlClassify()); -} @await DisplayAsync(Model) diff --git a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Preview.cshtml b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Preview.cshtml index 5388b098096..32eceece3e6 100644 --- a/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Preview.cshtml +++ b/src/OrchardCore.Modules/OrchardCore.Contents/Views/Item/Preview.cshtml @@ -1,7 +1 @@ -@using OrchardCore.ContentManagement -@using OrchardCore.Mvc.Utilities -@{ - ContentItem contentItem = Model.ContentItem; - //Html.AddPageClassNames("preview", "detail-" + contentItem.ContentType.HtmlClassify()); -} @await DisplayAsync(Model)