Removing the Orchard.Core.Shapes' Display.cshtml

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-18 01:45:07 -07:00
parent f8053de81e
commit a65395e23d
6 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
@Display(Model)
[contents display]

View File

@@ -328,7 +328,6 @@
<Content Include="Web.config" />
<Content Include="XmlRpc\Module.txt" />
<Content Include="Settings\Views\EditorTemplates\Parts\Settings.SiteSettingsPart.cshtml" />
<Content Include="Shapes\Views\Display.cshtml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Orchard\Orchard.Framework.csproj">
@@ -390,10 +389,13 @@
<Content Include="Common\Views\Parts\Common.Metadata.Summary.cshtml" />
<None Include="Contents\Placement.info" />
<Content Include="Contents\Views\Content.ControlWrapper.cshtml" />
<Content Include="Contents\Views\Item\Display.cshtml" />
<None Include="Localization\Placement.info" />
<None Include="PublishLater\Placement.info" />
<Content Include="Routable\Views\Parts\RoutableTitle.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>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />

View File

@@ -42,7 +42,7 @@ namespace Orchard.Core.Routable.Services {
var model = _contentManager.BuildDisplay(contentItem);
return new ViewResult {
ViewName = "Display",
ViewName = "Routable.HomePage",
ViewData = new ViewDataDictionary<dynamic>(model)
};
}

View File

@@ -0,0 +1,2 @@
@Display(Model)
[routable's item/display]

View File

@@ -0,0 +1,2 @@
@Display(Model)
[routable's item/display homepage]

View File

@@ -1,4 +0,0 @@
@{
Html.AddTitleParts((string)Model.Title);
}
@Display(Model)