mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing double encoding
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
@using Orchard.Blogs.Models;
|
||||
@using Orchard.ContentManagement
|
||||
|
||||
@{ Layout.Title = T("Manage {0}", Html.ItemDisplayText((IContent)Model.ContentItem)); }
|
||||
@{
|
||||
ContentItem blog = Model.ContentItem;
|
||||
var displayText = blog.ContentManager.GetItemMetadata(blog).DisplayText;
|
||||
Layout.Title = T("Manage {0}", displayText);
|
||||
}
|
||||
|
||||
@Display(Model.Header)
|
||||
@Display(Model.Actions)
|
||||
|
Reference in New Issue
Block a user