Corrected NotFound shape

--HG--
branch : dev
This commit is contained in:
Sébastien Ros
2010-09-16 08:43:39 -07:00
parent e736fd6a83
commit 8aed02cee3
3 changed files with 4 additions and 6 deletions

View File

@@ -336,7 +336,7 @@
<Content Include="Shapes\Views\DisplayTemplates\Items\ContentItem.ascx" />
<Content Include="Shapes\Views\EditorTemplates\Items\ContentItem.ascx" />
<Content Include="Shapes\Views\HeadPreload.ascx" />
<Content Include="Shapes\Views\NotFound.ascx" />
<None Include="Shapes\Views\NotFound.cshtml" />
<Content Include="Shapes\Views\UI\Switchable.ascx" />
<Content Include="Web.config" />
<Content Include="XmlRpc\Module.txt" />

View File

@@ -1,5 +0,0 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<object>" %>
<%@ Import Namespace="Orchard.Mvc.Html"%>
<%@ Import Namespace="Orchard.Mvc.ViewModels"%>
<h1><%: Html.TitleForPage(T("Not found").ToString()) %></h1>
<p><%: T("The page you are looking for does not exist.")%></p>

View File

@@ -0,0 +1,3 @@
@model dynamic
<h1>@Html.TitleForPage(T("Not found").ToString())</h1>
<p>@T("The page you are looking for does not exist.")</p>