mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-22 02:52:08 +08:00
Renamed widget editor template files.
--HG-- branch : dev
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Orchard.Widgets.Drivers {
|
|||||||
|
|
||||||
protected override DriverResult Editor(LayerPart layerPart, dynamic shapeHelper) {
|
protected override DriverResult Editor(LayerPart layerPart, dynamic shapeHelper) {
|
||||||
ContentLocation location = layerPart.GetLocation("Editor");
|
ContentLocation location = layerPart.GetLocation("Editor");
|
||||||
return ContentPartTemplate(layerPart, "Parts/Widgets.Layer").Location(location);
|
return ContentPartTemplate(layerPart, "Parts/Widgets.LayerPart").Location(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DriverResult Editor(LayerPart layerPart, IUpdateModel updater, dynamic shapeHelper) {
|
protected override DriverResult Editor(LayerPart layerPart, IUpdateModel updater, dynamic shapeHelper) {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace Orchard.Widgets.Drivers {
|
|||||||
widgetPart.AvailableZones = _widgetsService.GetZones();
|
widgetPart.AvailableZones = _widgetsService.GetZones();
|
||||||
|
|
||||||
ContentLocation location = widgetPart.GetLocation("Editor");
|
ContentLocation location = widgetPart.GetLocation("Editor");
|
||||||
return ContentPartTemplate(widgetPart, "Parts/Widgets.Widget").Location(location);
|
return ContentPartTemplate(widgetPart, "Parts/Widgets.WidgetPart").Location(location);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override DriverResult Editor(WidgetPart widgetPart, IUpdateModel updater, dynamic shapeHelper) {
|
protected override DriverResult Editor(WidgetPart widgetPart, IUpdateModel updater, dynamic shapeHelper) {
|
||||||
|
|||||||
@@ -114,8 +114,8 @@
|
|||||||
<None Include="Views\Admin\EditWidget.cshtml" />
|
<None Include="Views\Admin\EditWidget.cshtml" />
|
||||||
<None Include="Views\Admin\EditLayer.cshtml" />
|
<None Include="Views\Admin\EditLayer.cshtml" />
|
||||||
<None Include="Views\Admin\Index.cshtml" />
|
<None Include="Views\Admin\Index.cshtml" />
|
||||||
<Content Include="Views\EditorTemplates\Parts\Widgets.Widget.cshtml" />
|
<Content Include="Views\EditorTemplates\Parts\Widgets.WidgetPart.cshtml" />
|
||||||
<Content Include="Views\EditorTemplates\Parts\Widgets.Layer.cshtml" />
|
<Content Include="Views\EditorTemplates\Parts\Widgets.LayerPart.cshtml" />
|
||||||
<None Include="Views\EditorTemplates\Parts\Widgets.WidgetBagPart.cshtml" />
|
<None Include="Views\EditorTemplates\Parts\Widgets.WidgetBagPart.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
|||||||
Reference in New Issue
Block a user