mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
Updated titles on setttings screens.
--HG-- branch : 1.x
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
@using Orchard.ContentManagement
|
||||
@{
|
||||
GroupInfo groupInfo = Model.GroupInfo;
|
||||
Layout.Title = (groupInfo != null ? T("Settings for {0}", groupInfo.Name) : T("General Settings")).ToString();
|
||||
Layout.Title = T("Settings").ToString();
|
||||
}
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
|
@@ -8,7 +8,7 @@
|
||||
}, "Id", "Text", (int)Model.ResourceDebugMode);
|
||||
}
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("General Settings")</legend>
|
||||
<div>
|
||||
<label for="SiteName">@T("Site name")</label>
|
||||
@Html.EditorFor(m => m.SiteName)
|
||||
|
@@ -2,7 +2,7 @@
|
||||
@using Orchard.Comments.Models;
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("Settings for Comments")</legend>
|
||||
<div>
|
||||
@Html.EditorFor(m => m.ModerateComments)
|
||||
<label class="forcheckbox" for="CommentSettings_ModerateComments">@T("Comments must be approved before they appear")</label>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Indexing.ViewModels.IndexViewModel
|
||||
@using Orchard.Indexing.Services;
|
||||
|
||||
@{ Layout.Title = T("Search Index Management").ToString(); }
|
||||
@{ Layout.Title = T("Settings").ToString(); }
|
||||
|
||||
@using (Html.BeginForm("update", "admin", FormMethod.Post, new {area = "Orchard.Indexing"})) {
|
||||
<fieldset>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Media.Models.MediaSettingsPartRecord
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("Settings for Media")</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,7 +1,8 @@
|
||||
@model Orchard.Packaging.ViewModels.PackagingSourcesViewModel
|
||||
|
||||
@{ Layout.Title = T("Settings for Gallery").ToString(); }
|
||||
@{ Layout.Title = T("Settings").ToString(); }
|
||||
|
||||
<h2>@T("Settings for Gallery")</h2>
|
||||
<div class="manage">
|
||||
@Html.ActionLink(T("Add Feed").Text, "AddSource", new { }, new { @class = "button primaryAction" })
|
||||
</div>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
@using Orchard.Search.ViewModels;
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("Settings for Search")</legend>
|
||||
<div>
|
||||
@{var entryIndex = 0;}
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
@model Orchard.Users.Models.RegistrationSettingsPartRecord
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("Settings for Users")</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>
|
||||
|
@@ -2,13 +2,13 @@
|
||||
@using Orchard.Utility.Extensions;
|
||||
@using Orchard.Warmup.Models;
|
||||
|
||||
@{ Layout.Title = T("Settings for Warmup").ToString(); }
|
||||
@{ Layout.Title = T("Settings").ToString(); }
|
||||
|
||||
@using (Html.BeginFormAntiForgeryPost()) {
|
||||
@Html.ValidationSummary()
|
||||
|
||||
<fieldset>
|
||||
<legend>@T("Enter Settings")</legend>
|
||||
<legend>@T("Settings for Warmup")</legend>
|
||||
<div>
|
||||
<label for="@Html.FieldIdFor(m => m.Urls)">@T("Urls for which static warmup pages will be generated")</label>
|
||||
@Html.TextAreaFor(m => m.Urls, new { @class = "textMedium" })
|
||||
|
@@ -544,7 +544,7 @@ span.message {
|
||||
|
||||
form { margin: 0; padding: 0;}
|
||||
legend { font-size: 1.231em; font-weight: normal; border:none;}
|
||||
fieldset { padding:6px 0 0; margin:0 0 1em 0; border: 0px solid #dbdbdb; }
|
||||
fieldset { padding:6px 0 0; margin:0 0 12px 0; border: 0px solid #dbdbdb; }
|
||||
label { font-weight:normal; display:block; padding: 0 0 0.3em 0; }
|
||||
label.forcheckbox { margin:0 0 0 .4em; display:inline; }
|
||||
|
||||
@@ -1032,7 +1032,8 @@ html.dyn #submit-pager, html.dyn .apply-bulk-actions-auto { display:none; }
|
||||
margin:.5em 0;
|
||||
}
|
||||
.settings legend {
|
||||
margin:0 0 -.4em;
|
||||
margin:0 0 0 0;
|
||||
font-size:18px;
|
||||
}
|
||||
/* Core Contents and Orchard.PublishLater */
|
||||
|
||||
|
Reference in New Issue
Block a user