mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
Update to admin screen titles.
--HG-- branch : 1.x
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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">
|
||||
|
@@ -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()
|
||||
|
@@ -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()) {
|
||||
|
@@ -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)
|
||||
|
@@ -34,11 +34,11 @@ namespace Orchard.Blogs {
|
||||
item => item.Action("Item", "BlogAdmin", new { area = "Orchard.Blogs", blogId = singleBlog.Id }).Permission(Permissions.MetaListBlogs));
|
||||
|
||||
if (singleBlog != null)
|
||||
menu.Add(T("Create New Post"), "1.1",
|
||||
menu.Add(T("New Post"), "1.1",
|
||||
item =>
|
||||
item.Action("Create", "BlogPostAdmin", new { area = "Orchard.Blogs", blogId = singleBlog.Id }).Permission(Permissions.PublishBlogPost));
|
||||
|
||||
menu.Add(T("Create New Blog"), "1.2",
|
||||
menu.Add(T("New Blog"), "1.2",
|
||||
item =>
|
||||
item.Action("Create", "BlogAdmin", new { area = "Orchard.Blogs" }).Permission(Permissions.ManageBlogs));
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@{ Layout.Title = T("Create New Blog").ToString(); }
|
||||
@{ Layout.Title = T("New Blog").ToString(); }
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
@Html.ValidationSummary()
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@{ Layout.Title = T("Create New Blog Post").ToString(); }
|
||||
@{ Layout.Title = T("New Post").ToString(); }
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
@Html.ValidationSummary()
|
||||
|
@@ -7,7 +7,7 @@
|
||||
Style.Require("Admin");
|
||||
Script.Require("ShapesBase");
|
||||
|
||||
Layout.Title = T("Manage Comments").ToString();
|
||||
Layout.Title = T("Comments").ToString();
|
||||
}
|
||||
|
||||
@using(Html.BeginFormAntiForgeryPost()) {
|
||||
|
@@ -2,7 +2,7 @@
|
||||
@using Orchard.Comments.Models;
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Comments")</legend>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.ModerateComments)
|
||||
<label class="forcheckbox" for="CommentSettings_ModerateComments">@T("Comments must be approved before they appear")</label>
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
string createLinkText = string.IsNullOrEmpty(Model.ContainerItemContentType) ? T("Create New Content").ToString() : T("Create New {0}", Model.ContainerItemContentType).ToString();
|
||||
|
||||
Layout.Title = T("Manage Content for {0}", Model.ContainerDisplayName);
|
||||
Layout.Title = T("Manage {0}", Model.ContainerDisplayName);
|
||||
|
||||
var lists = ((IEnumerable<ContentItem>)Model.OtherLists).Select(
|
||||
contentItem => new SelectListItem {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Media.ViewModels.MediaFolderIndexViewModel
|
||||
@using Orchard.Media.Extensions;
|
||||
|
||||
@{ Layout.Title = T("Manage Media Folders").ToString(); }
|
||||
@{ Layout.Title = T("Media").ToString(); }
|
||||
|
||||
@Html.ValidationSummary()
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Media.Models.MediaSettingsPartRecord
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Media Settings")</legend>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<div>
|
||||
@Html.LabelFor(m => m.UploadAllowedFileTypeWhitelist, T("Upload allowed file types (list of extensions separated by spaces)"))
|
||||
@Html.TextBoxFor(m => m.UploadAllowedFileTypeWhitelist, new { @class = "textMedium" })
|
||||
|
@@ -1,6 +1,6 @@
|
||||
@model Orchard.Packaging.ViewModels.PackagingSourcesViewModel
|
||||
|
||||
@{ Layout.Title = T("Gallery Feeds").ToString(); }
|
||||
@{ Layout.Title = T("Settings for Gallery").ToString(); }
|
||||
|
||||
<div class="manage">
|
||||
@Html.ActionLink(T("Add Feed").Text, "AddSource", new { }, new { @class = "button primaryAction" })
|
||||
|
@@ -4,7 +4,7 @@
|
||||
@{
|
||||
Script.Require("ShapesBase");
|
||||
|
||||
Layout.Title = T("Manage Roles").ToString();
|
||||
Layout.Title = T("Roles").ToString();
|
||||
}
|
||||
|
||||
@using(Html.BeginFormAntiForgeryPost()) {
|
||||
|
@@ -4,7 +4,7 @@
|
||||
@{
|
||||
Script.Require("ShapesBase");
|
||||
Style.Require("TagsAdmin");
|
||||
Layout.Title = T("Manage Tags").ToString();
|
||||
Layout.Title = T("Tags").ToString();
|
||||
}
|
||||
|
||||
@Html.ValidationSummary()
|
||||
|
@@ -5,7 +5,7 @@
|
||||
@{
|
||||
var userIndex = 0;
|
||||
|
||||
Layout.Title = T("Manage Users").ToString();
|
||||
Layout.Title = T("Users").ToString();
|
||||
}
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Users.Models.RegistrationSettingsPartRecord
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Users registration")</legend>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.UsersCanRegister)
|
||||
<label class="forcheckbox" for="@Html.FieldIdFor( m => m.UsersCanRegister)">@T("Users can create new accounts on the site")</label>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
@{
|
||||
Style.Require("WidgetsAdmin");
|
||||
Layout.Title = T("Manage Widgets").ToString();
|
||||
Layout.Title = T("Widgets").ToString();
|
||||
}
|
||||
@Display.WidgetPlacement_Orphans(OrphanWidgets: Model.OrphanWidgets)
|
||||
<div id="widgets" class="group">
|
||||
|
Reference in New Issue
Block a user