mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Fix a few views with compilation errors
--HG-- branch : dev
This commit is contained in:
parent
a0e8404fe4
commit
5cad080d8b
@ -1 +1 @@
|
||||
@model Orchard.Core.Common.ViewModels.BodyDisplayViewModel
|
||||
|
@ -25,7 +25,7 @@
|
||||
<select id="publishActions" name="@Html.NameOf(m => m.Options.BulkAction)">
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.None, T("Choose action...").ToString())
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.Approve, T("Approve").ToString())
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.Pend, T("Pend").ToString())
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.Unapprove, T("Unapprove").ToString())
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.MarkAsSpam, T("Mark as Spam").ToString())
|
||||
@Html.SelectOption(Model.Options.BulkAction, CommentDetailsBulkAction.Delete, T("Remove").ToString())
|
||||
</select>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@model IEnumerable<Orchard.ContentTypes.ViewModels.EditPartFieldViewModel
|
||||
@model IEnumerable<Orchard.ContentTypes.ViewModels.EditPartFieldViewModel>
|
||||
@if (Model.Any()) {
|
||||
<dl>@foreach (var field in Model) {
|
||||
var f = field;
|
||||
|
@ -9,8 +9,8 @@
|
||||
var htmlFieldName = string.Format("Settings[{0}]", si++);
|
||||
// doesn't gen a similarly sanitized id as the other inputs...*/
|
||||
<label for="@ViewData.TemplateInfo.GetFullHtmlFieldId(htmlFieldName + ".Value")">@s.Key</label>
|
||||
Html.Hidden(htmlFieldName + ".Key", s.Key)
|
||||
Html.TextBox(htmlFieldName + ".Value", s.Value)
|
||||
Html.Hidden(htmlFieldName + ".Key", s.Key);
|
||||
Html.TextBox(htmlFieldName + ".Value", s.Value);
|
||||
}
|
||||
}
|
||||
</fieldset>
|
||||
|
@ -81,7 +81,8 @@ namespace Orchard.Environment {
|
||||
|
||||
// Various other admin pages
|
||||
"~/Core/Settings/Views",
|
||||
"~/Modules/Orchard.Modules/Views",
|
||||
"~/Core/Containers/Views",
|
||||
"~/Modules/Orchard.Widgets/Views",
|
||||
"~/Modules/Orchard.Users/Views",
|
||||
"~/Modules/Orchard.Media/Views",
|
||||
"~/Modules/Orchard.Comments/Views",
|
||||
@ -128,7 +129,6 @@ namespace Orchard.Environment {
|
||||
var stopwatch = new Stopwatch();
|
||||
stopwatch.Start();
|
||||
try {
|
||||
|
||||
var firstFile = _virtualPathProvider
|
||||
.ListFiles(viewDirectory)
|
||||
.Where(f => context.FileExtensionsToCompile.Any(e => f.EndsWith(e, StringComparison.OrdinalIgnoreCase)))
|
||||
|
Loading…
Reference in New Issue
Block a user