mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Mocking sub-entries in CMSTopMenu
This commit is contained in:
parent
f6f658f803
commit
0c81515066
@ -13,6 +13,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul id="MainMenu">
|
<ul id="MainMenu">
|
||||||
<% control MainMenu %>
|
<% control MainMenu %>
|
||||||
<li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
|
<li class="$LinkingMode" id="Menu-$Code">
|
||||||
|
<a href="$Link">$Title</a>
|
||||||
|
<% if Title == 'Edit Page' %>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">Content</a></li>
|
||||||
|
<li><a href="#">Settings</a></li>
|
||||||
|
<li><a href="#">Reports</a></li>
|
||||||
|
<li><a href="#">History</a></li>
|
||||||
|
</ul>
|
||||||
|
<% end_if %>
|
||||||
|
</li>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user