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

@@ -4,7 +4,7 @@
@{
Style.Require("ThemesAdmin");
WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: T("Themes").ToString()), "5");
Layout.Title = T("Themes").ToString();
}
@if (Model.CurrentTheme == null) {