From 7e9c27433bf7593f40891233fcfa596c89c5b782 Mon Sep 17 00:00:00 2001 From: Louis DeJardin Date: Mon, 8 Nov 2010 15:31:25 -0800 Subject: [PATCH] Updating experimental templates for name change --HG-- branch : dev --- .../Views/Commands/Execute.cshtml | 15 ++++++++------- .../Views/DumpShapeTable.cshtml | 2 +- .../Orchard.Experimental/Views/ThinBorder.cshtml | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml index 388ce7a2c..00ae966bd 100644 --- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/Commands/Execute.cshtml @@ -1,20 +1,21 @@ +@model Orchard.Experimental.ViewModels.CommandsExecuteViewModel

@Html.TitleForPage(T("Command line").ToString())

@using (Html.BeginFormAntiForgeryPost(Url.Action("Execute"))) { - Html.ValidationSummary() + @Html.ValidationSummary() @Html.LabelFor(m => m.CommandLine, T("Command Line")) @Html.TextBoxFor(m => m.CommandLine, new { style = "width:100%;" }) @Html.ValidationMessageFor(m => m.CommandLine)
@Model.Results
} -
\ No newline at end of file + diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml b/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml index aea6c14ec..62843e179 100644 --- a/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Experimental/Views/DumpShapeTable.cshtml @@ -3,7 +3,7 @@ @Display(Model.Metadata.ChildContent) @{ var workContext = ViewContext.GetWorkContext(); - var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.ThemeName); + var shapeTable = workContext.Resolve().GetShapeTable(workContext.CurrentTheme.Name);