mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Flatten "Comments" views
--HG-- branch : dev rename : src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.Comments.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts.Comments.Comments.cshtml rename : src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts/Comments.SiteSettings.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/EditorTemplates/Parts.Comments.SiteSettings.cshtml rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Count.SummaryAdmin.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.Count.SummaryAdmin.cshtml rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.Count.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.Count.cshtml rename : src/Orchard.Web/Modules/Orchard.Comments/Views/Parts/Comments.cshtml => src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comments.cshtml
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Orchard.Comments.Drivers {
|
||||
|
||||
protected override DriverResult Editor(CommentSettingsPart part, dynamic shapeHelper) {
|
||||
return ContentShape("Parts_Comments_SiteSettings",
|
||||
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Comments.SiteSettings", Model: part.Record, Prefix: Prefix));
|
||||
() => shapeHelper.EditorTemplate(TemplateName: "Parts.Comments.SiteSettings", Model: part.Record, Prefix: Prefix));
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(CommentSettingsPart part, IUpdateModel updater, dynamic shapeHelper) {
|
||||
|
@@ -22,7 +22,7 @@ namespace Orchard.Comments.Drivers {
|
||||
|
||||
protected override DriverResult Editor(CommentsPart part, dynamic shapeHelper) {
|
||||
return ContentShape("Parts_Comments_Enable",
|
||||
() => shapeHelper.EditorTemplate(TemplateName: "Parts/Comments.Comments", Model: part, Prefix: Prefix));
|
||||
() => shapeHelper.EditorTemplate(TemplateName: "Parts.Comments.Comments", Model: part, Prefix: Prefix));
|
||||
}
|
||||
|
||||
protected override DriverResult Editor(CommentsPart part, IUpdateModel updater, dynamic shapeHelper) {
|
||||
|
@@ -115,11 +115,11 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Views\Admin\Edit.cshtml" />
|
||||
<Content Include="Views\Admin\Index.cshtml" />
|
||||
<Content Include="Views\Parts\Comments.cshtml" />
|
||||
<Content Include="Views\Parts\Comments.Count.cshtml" />
|
||||
<Content Include="Views\Parts\Comments.Count.SummaryAdmin.cshtml" />
|
||||
<Content Include="Views\EditorTemplates\Parts\Comments.Comments.cshtml" />
|
||||
<Content Include="Views\EditorTemplates\Parts\Comments.SiteSettings.cshtml" />
|
||||
<Content Include="Views\Parts.Comments.cshtml" />
|
||||
<Content Include="Views\Parts.Comments.Count.cshtml" />
|
||||
<Content Include="Views\Parts.Comments.Count.SummaryAdmin.cshtml" />
|
||||
<Content Include="Views\EditorTemplates\Parts.Comments.Comments.cshtml" />
|
||||
<Content Include="Views\EditorTemplates\Parts.Comments.SiteSettings.cshtml" />
|
||||
<Content Include="Views\ListOfComments.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@@ -132,6 +132,7 @@
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
|
Reference in New Issue
Block a user