From 7089bef86949873467c577cd398813bac73b7fcf Mon Sep 17 00:00:00 2001 From: Kevin LaBranche Date: Fri, 7 Jan 2011 15:23:08 -0700 Subject: [PATCH] Fix for #17184 - The name "View" does not exist. Modified the two references to View.ContentItems to ViewData. --HG-- branch : 1.x --- src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml index cdcfedc53..941960e8a 100644 --- a/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Edit.cshtml @@ -16,7 +16,7 @@ }

@T("Content items tagged with {0}", Model.TagName)

-@if (View.ContentItems == null) { +@if (ViewData["ContentItems"] == null) {

@T("There is nothing tagged with {0}", Model.TagName)

} else { @@ -31,7 +31,7 @@ else { @T("Name") - @foreach (IContent content in View.ContentItems) { + @foreach (IContent content in (IEnumerable)ViewData["ContentItems"]) { @content.ContentItem.ContentType.CamelFriendly() @Html.ItemEditLink(content.ContentItem)