mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Fixing some admin blog views
The titles should be set using Layout.Title --HG-- branch : 1.x
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@{
|
||||
Html.AddTitleParts(T("Manage Blog").ToString());
|
||||
Layout.Title = T("Manage Blog").ToString();
|
||||
}
|
||||
@* Model is a Shape, calling Display() so that it is rendered using the most specific template for its Shape type *@
|
||||
@Display(Model)
|
||||
|
@@ -1,7 +1,8 @@
|
||||
@using Orchard.Blogs.Extensions;
|
||||
@using Orchard.Blogs.Models;
|
||||
@using Orchard.ContentManagement
|
||||
|
||||
@{ Layout.Title = (string)Model.Title; }
|
||||
@{ Layout.Title = T("Manage {0}", Html.ItemDisplayText((IContent)Model.ContentItem)); }
|
||||
|
||||
@Display(Model.Header)
|
||||
@Display(Model.Actions)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
@using Orchard.Mvc.Html;
|
||||
@{
|
||||
Html.AddTitleParts((string)Model.Title);
|
||||
Layout.Title = T("New Blog");
|
||||
}
|
||||
<div class="edit-item">
|
||||
<div class="edit-item-primary">
|
||||
|
Reference in New Issue
Block a user