Updating titles to new position.

--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2011-02-16 11:04:36 -08:00
parent 4bf1b2e389
commit 1951b30189
61 changed files with 174 additions and 101 deletions

View File

@@ -1,6 +1,7 @@
@model Orchard.MultiTenancy.ViewModels.TenantAddViewModel
<h1>@Html.TitleForPage(T("Add New Tenant").ToString())</h1>
@WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: T("Add New Tenant").ToString()), "5");
@using (Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()
<fieldset>

View File

@@ -1,7 +1,8 @@
@model Orchard.MultiTenancy.ViewModels.TenantEditViewModel
@using Orchard.Environment.Configuration;
<h1>@Html.TitleForPage(T("Edit Tenant").ToString())</h1>
@WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: T("Edit Tenant").ToString()), "5");
@using (Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()
<fieldset>

View File

@@ -3,7 +3,8 @@
@{ Style.Require("MultiTenancyAdmin"); }
<h1>@Html.TitleForPage(T("List of Site's Tenants").ToString())</h1>
@WorkContext.Layout.BeforeContent.Add(New.BeforeContent(Title: T("List of Site's Tenants").ToString()), "5");
<div class="manage">@Html.ActionLink(T("Add a Tenant").ToString(), "Add", new {area = "Orchard.MultiTenancy"}, new { @class = "button primaryAction" })</div>
<ul class="contentItems tenants">
@foreach (var tenant in Model.TenantSettings) {