Update to admin screen titles.

--HG--
branch : 1.x
This commit is contained in:
jowall
2011-04-01 12:42:49 -07:00
parent 88ea6d3a5c
commit 9ae58e1906
19 changed files with 20 additions and 20 deletions

View File

@@ -1,6 +1,6 @@
@{
var typeDisplayName = Model.ContentItem.TypeDefinition.DisplayName;
var pageTitle = T("Create {0}", typeDisplayName);
var pageTitle = T("New {0}", typeDisplayName);
Layout.Title = (string)pageTitle.Text;
}

View File

@@ -3,7 +3,7 @@
@using Orchard.Core.Navigation.Models;
@using Orchard.Core.Navigation.ViewModels;
@{ Layout.Title = T("Manage Main Menu").ToString(); }
@{ Layout.Title = T("Navigation").ToString(); }
@using (Html.BeginFormAntiForgeryPost()) {
<table class="items">

View File

@@ -1,7 +1,7 @@
@model ReportsAdminIndexViewModel
@using Orchard.Core.Reports.ViewModels;
@{ Layout.Title = T("Manage Reports").ToString(); }
@{ Layout.Title = T("Reports").ToString(); }
@using(Html.BeginFormAntiForgeryPost()) {
@Html.ValidationSummary()

View File

@@ -1,7 +1,7 @@
@using Orchard.ContentManagement
@{
GroupInfo groupInfo = Model.GroupInfo;
Layout.Title = (groupInfo != null ? T("Manage Settings for {0}", groupInfo.Name) : T("Manage Settings")).ToString();
Layout.Title = (groupInfo != null ? T("Settings for {0}", groupInfo.Name) : T("General Settings")).ToString();
}
@using (Html.BeginFormAntiForgeryPost()) {

View File

@@ -8,7 +8,7 @@
}, "Id", "Text", (int)Model.ResourceDebugMode);
}
<fieldset>
<legend>@T("Global Settings")</legend>
<legend>@T("Enter Settings")</legend>
<div>
<label for="SiteName">@T("Site name")</label>
@Html.EditorFor(m => m.SiteName)