Delegating title positioning to Layout.cshtml.

--HG--
branch : dev
rename : src/Orchard.Web/Themes/TheAdmin/Views/BeforeContent.cshtml => src/Orchard.Web/Themes/TheAdmin/Views/Title.cshtml
This commit is contained in:
andrerod
2011-02-17 16:27:21 -08:00
parent fe5ef56ed9
commit 7ffb7e02d4
65 changed files with 106 additions and 89 deletions

View File

@@ -9,7 +9,7 @@
Style.Require("Switchable");
Script.Require("Switchable");
WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: "Modules"), "5");
Layout.Title = T("Modules").ToString();
}
@if (Model.Features.Count() > 0) {