From 71e61fd3df3f9e7f1028268dd3900b1ee80117f3 Mon Sep 17 00:00:00 2001 From: Michael Dorian Bach Date: Thu, 14 Oct 2010 12:03:45 -0700 Subject: [PATCH] Fixed Layout-Wrapper so it can accept dynamic has-sidebar class. --HG-- branch : dev --- src/Orchard.Web/Themes/TheThemeMachine/Views/Layout.cshtml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Themes/TheThemeMachine/Views/Layout.cshtml b/src/Orchard.Web/Themes/TheThemeMachine/Views/Layout.cshtml index c65184ee4..6eccdfc8c 100644 --- a/src/Orchard.Web/Themes/TheThemeMachine/Views/Layout.cshtml +++ b/src/Orchard.Web/Themes/TheThemeMachine/Views/Layout.cshtml @@ -22,9 +22,12 @@ } + Model.Id = "layout-wrapper"; + var tag = Tag (Model, "div"); + } -
+@tag.StartElement @* needs to be the page title, not page (head) title... *@ @* Adds text and html to the header zone *@ @@ -85,4 +88,4 @@ } -
\ No newline at end of file +@tag.EndElement \ No newline at end of file