mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
parent
3e5c9cf951
commit
859b2316e9
@ -30,6 +30,7 @@ namespace Orchard.MediaLibrary.Drivers {
|
||||
protected override DriverResult Display(ContentPart part, Fields.MediaLibraryPickerField field, string displayType, dynamic shapeHelper) {
|
||||
return Combined(
|
||||
ContentShape("Fields_MediaLibraryPicker", GetDifferentiator(field, part), () => shapeHelper.Fields_MediaLibraryPicker()),
|
||||
ContentShape("Fields_MediaLibraryPicker_Summary", GetDifferentiator(field, part), () => shapeHelper.Fields_MediaLibraryPicker_Summary()),
|
||||
ContentShape("Fields_MediaLibraryPicker_SummaryAdmin", GetDifferentiator(field, part), () => shapeHelper.Fields_MediaLibraryPicker_SummaryAdmin())
|
||||
);
|
||||
}
|
||||
|
@ -337,6 +337,9 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Views\Parts\MediaLibrary.Navigation.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Views\Fields\MediaLibraryPicker.Summary.cshtml" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
|
@ -86,6 +86,10 @@
|
||||
<Place Fields_MediaLibraryPicker="Content:after"/>
|
||||
</Match>
|
||||
|
||||
<Match DisplayType="Summary">
|
||||
<Place Fields_MediaLibraryPicker_Summary="-"/>
|
||||
</Match>
|
||||
|
||||
<Match DisplayType="SummaryAdmin">
|
||||
<Place Fields_MediaLibraryPicker_SummaryAdmin="Content:after"/>
|
||||
</Match>
|
||||
|
Loading…
Reference in New Issue
Block a user