From f86c4b1375e6ca3874355417a76d7515e28b695d Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Thu, 6 Jan 2011 15:29:28 -0800 Subject: [PATCH] Converting the LogOn view to a shape, and adding a ShapeResult to render shapes as an ActionResult without the need of a dedicated view Work Item: 17046 --HG-- branch : 1.x --- src/Orchard.Web/Core/Orchard.Core.csproj | 3 +++ .../Core/Shapes/Views/ShapeResult/Display.cshtml | 1 + .../Orchard.Users/Controllers/AccountController.cs | 11 +++++++---- .../Modules/Orchard.Users/Orchard.Users.csproj | 5 +++-- .../Orchard.Users/ViewModels/LogOnViewModel.cs | 5 ----- .../Orchard.Users/Views/{Account => }/LogOn.cshtml | 5 ++--- src/Orchard/Mvc/ShapeResult.cs | 10 ++++++++++ src/Orchard/Orchard.Framework.csproj | 1 + 8 files changed, 27 insertions(+), 14 deletions(-) create mode 100644 src/Orchard.Web/Core/Shapes/Views/ShapeResult/Display.cshtml delete mode 100644 src/Orchard.Web/Modules/Orchard.Users/ViewModels/LogOnViewModel.cs rename src/Orchard.Web/Modules/Orchard.Users/Views/{Account => }/LogOn.cshtml (88%) create mode 100644 src/Orchard/Mvc/ShapeResult.cs diff --git a/src/Orchard.Web/Core/Orchard.Core.csproj b/src/Orchard.Web/Core/Orchard.Core.csproj index b59372d85..198aed3e4 100644 --- a/src/Orchard.Web/Core/Orchard.Core.csproj +++ b/src/Orchard.Web/Core/Orchard.Core.csproj @@ -371,6 +371,9 @@ + + +