Fixed the title for content item display in the Contoso theme

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-25 16:53:05 -07:00
parent 39ab96e05f
commit e8bd79e485
2 changed files with 7 additions and 0 deletions

View File

@@ -100,6 +100,7 @@
<Content Include="Global.asax" />
<Content Include="Refresh.html" />
<Content Include="Themes\Contoso\Styles\search.css" />
<Content Include="Themes\Contoso\Views\DisplayTemplates\Items\Contents.Item.ascx" />
<Content Include="Themes\Contoso\Views\DisplayTemplates\Parts\Blogs.BlogPost.Metadata.ascx" />
<Content Include="Themes\Contoso\Views\Orchard.Search\Search\Index.ascx" />
<Content Include="Themes\Corporate\Views\DisplayTemplates\Parts\Blogs.BlogPost.Metadata.ascx" />

View File

@@ -0,0 +1,6 @@
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<ContentItemViewModel>" %>
<%@ Import Namespace="Orchard.Mvc.ViewModels" %>
<h1 class="page-title"><%:Html.ItemDisplayText(Model.Item)%></h1>
<% Html.Zone("metadata");
Html.Zone("primary", ":manage :metadata");
Html.ZonesAny(); %>