Fix a few views with compilation errors

--HG--
branch : dev
This commit is contained in:
Renaud Paquay 2010-12-03 18:56:01 -08:00
parent a0e8404fe4
commit 5cad080d8b
5 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
@model Orchard.Core.Common.ViewModels.BodyDisplayViewModel


View File

@ -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>

View File

@ -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;

View File

@ -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>

View File

@ -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)))