mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-24 05:42:10 +08:00
Corrected NotFound shape
--HG-- branch : dev
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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>
|
||||
3
src/Orchard.Web/Core/Shapes/Views/NotFound.cshtml
Normal file
3
src/Orchard.Web/Core/Shapes/Views/NotFound.cshtml
Normal 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>
|
||||
Reference in New Issue
Block a user