mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removing the Orchard.Core.Shapes' Display.cshtml
--HG-- branch : dev
This commit is contained in:
2
src/Orchard.Web/Core/Contents/Views/Item/Display.cshtml
Normal file
2
src/Orchard.Web/Core/Contents/Views/Item/Display.cshtml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@Display(Model)
|
||||||
|
[contents display]
|
||||||
@@ -328,7 +328,6 @@
|
|||||||
<Content Include="Web.config" />
|
<Content Include="Web.config" />
|
||||||
<Content Include="XmlRpc\Module.txt" />
|
<Content Include="XmlRpc\Module.txt" />
|
||||||
<Content Include="Settings\Views\EditorTemplates\Parts\Settings.SiteSettingsPart.cshtml" />
|
<Content Include="Settings\Views\EditorTemplates\Parts\Settings.SiteSettingsPart.cshtml" />
|
||||||
<Content Include="Shapes\Views\Display.cshtml" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\Orchard\Orchard.Framework.csproj">
|
<ProjectReference Include="..\..\Orchard\Orchard.Framework.csproj">
|
||||||
@@ -390,10 +389,13 @@
|
|||||||
<Content Include="Common\Views\Parts\Common.Metadata.Summary.cshtml" />
|
<Content Include="Common\Views\Parts\Common.Metadata.Summary.cshtml" />
|
||||||
<None Include="Contents\Placement.info" />
|
<None Include="Contents\Placement.info" />
|
||||||
<Content Include="Contents\Views\Content.ControlWrapper.cshtml" />
|
<Content Include="Contents\Views\Content.ControlWrapper.cshtml" />
|
||||||
|
<Content Include="Contents\Views\Item\Display.cshtml" />
|
||||||
<None Include="Localization\Placement.info" />
|
<None Include="Localization\Placement.info" />
|
||||||
<None Include="PublishLater\Placement.info" />
|
<None Include="PublishLater\Placement.info" />
|
||||||
<Content Include="Routable\Views\Parts\RoutableTitle.cshtml" />
|
<Content Include="Routable\Views\Parts\RoutableTitle.cshtml" />
|
||||||
<None Include="PublishLater\Views\Parts\PublishLater.Metadata.Summary.cshtml" />
|
<None Include="PublishLater\Views\Parts\PublishLater.Metadata.Summary.cshtml" />
|
||||||
|
<Content Include="Routable\Views\Item\Display.cshtml" />
|
||||||
|
<Content Include="Routable\Views\Routable.HomePage.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ namespace Orchard.Core.Routable.Services {
|
|||||||
var model = _contentManager.BuildDisplay(contentItem);
|
var model = _contentManager.BuildDisplay(contentItem);
|
||||||
|
|
||||||
return new ViewResult {
|
return new ViewResult {
|
||||||
ViewName = "Display",
|
ViewName = "Routable.HomePage",
|
||||||
ViewData = new ViewDataDictionary<dynamic>(model)
|
ViewData = new ViewDataDictionary<dynamic>(model)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
2
src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml
Normal file
2
src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
@Display(Model)
|
||||||
|
[routable's item/display]
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
@Display(Model)
|
||||||
|
[routable's item/display homepage]
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
@{
|
|
||||||
Html.AddTitleParts((string)Model.Title);
|
|
||||||
}
|
|
||||||
@Display(Model)
|
|
||||||
Reference in New Issue
Block a user