mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding a property and a couple methods to the base view class(es)
- Layout (shortcut for WorkContext.Layout) - HasText(object thing) (shortcut for !string.IsNullOrWhiteSpace(thing as string)) - Tag(dynamic shape, string tagName) (shortcut for Html.Resolve<ITagBuilderFactory>().Create(shape, tagName)) --HG-- branch : dev
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
<Content Include="Web.config">
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
<None Include="Themes\TheThemeMachine\Views\MenuItem.cshtml_" />
|
||||
<None Include="Themes\TheThemeMachine\Views\MenuItem.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Orchard\Orchard.Framework.csproj">
|
||||
@@ -318,7 +318,7 @@
|
||||
<Content Include="Themes\Web.config" />
|
||||
<Content Include="Themes\TheThemeMachine\Views\Items\Content.Blog.cshtml" />
|
||||
<None Include="Themes\TheThemeMachine\Views\Layout.cshtml" />
|
||||
<None Include="Themes\TheThemeMachine\Views\Menu.cshtml_">
|
||||
<None Include="Themes\TheThemeMachine\Views\Menu.cshtml">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
Reference in New Issue
Block a user