mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Trying to simplify tag/id/attr handling in shape views
ITagBuilderFactory returns a TagBuilder populated html related things taken from the shape Updated zone/menu/menuitem shapes to use that service Menu and menu item removed from TheAdmin to allow core\shapes rendering to show through --HG-- branch : theming
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
<ul id="Menu-@Model.MenuName" class="Menu Menu-@Model.MenuName">
|
||||
@DisplayChildren(Model)
|
||||
</ul><!-- /Menu-@Model.MenuName -->
|
@@ -1,9 +0,0 @@
|
||||
@{
|
||||
// odd formatting in this file is to cause more attractive results in the output.
|
||||
var items = (IEnumerable<dynamic>)Enumerable.Cast<dynamic>(Model);
|
||||
}
|
||||
<li><a href="@Model.Href">@Model.Text</a>@{ if (items.Any()) {
|
||||
<ul>
|
||||
@DisplayChildren(Model)
|
||||
</ul>}}
|
||||
</li>
|
Reference in New Issue
Block a user