mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 12:09:41 +08:00
Fixing project file
--HG-- branch : 1.x
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Orchard.Core.Containers.Drivers {
|
||||
}
|
||||
|
||||
var containers = _contentManager.Query<ContainerPart, ContainerPartRecord>(VersionOptions.Latest).List();
|
||||
var listItems = containers.Count() < 1
|
||||
var listItems = !containers.Any()
|
||||
? new[] {new SelectListItem {Text = T("(None - create container enabled items first)").Text, Value = "0"}}
|
||||
: containers.Select(x => new SelectListItem {
|
||||
Value = Convert.ToString(x.Id),
|
||||
|
@@ -491,7 +491,7 @@
|
||||
<Content Include="Shapes\Views\ErrorPage.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Containers\Views\Parts.Container.Contained.cshtml" />
|
||||
<Content Include="Containers\Views\Parts.Container.Contained.cshtml" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
|
Reference in New Issue
Block a user