mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 12:29:04 +08:00
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:
@@ -1,9 +1,10 @@
|
||||
@model Orchard.MultiTenancy.ViewModels.TenantsIndexViewModel
|
||||
@using Orchard.MultiTenancy.Extensions;
|
||||
|
||||
@{ Style.Require("MultiTenancyAdmin"); }
|
||||
|
||||
@WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: T("List of Site's Tenants").ToString()), "5");
|
||||
@{
|
||||
Style.Require("MultiTenancyAdmin");
|
||||
Layout.Title = T("List of Site's Tenants").ToString();
|
||||
}
|
||||
|
||||
<div class="manage">@Html.ActionLink(T("Add a Tenant").ToString(), "Add", new {area = "Orchard.MultiTenancy"}, new { @class = "button primaryAction" })</div>
|
||||
<ul class="contentItems tenants">
|
||||
|
||||
Reference in New Issue
Block a user