mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove sub navigation for "Files" (fixes 7956)
Backport from master. Fixes display issues with expanded, unselected submenus ... by removing them. They're strictly not necessary since both "list" and "add" modes can be reached through the default AssetAdmin UI.
This commit is contained in:
parent
2e9b5e9221
commit
92e4b4fc5b
@ -28,21 +28,6 @@
|
|||||||
<span class="icon icon-16 icon-{$Code.LowerCase}"> </span>
|
<span class="icon icon-16 icon-{$Code.LowerCase}"> </span>
|
||||||
<span class="text">$Title</span>
|
<span class="text">$Title</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<% if Code == 'AssetAdmin' %>
|
|
||||||
<ul>
|
|
||||||
<li class="first <% if Top.class == 'AssetAdmin' %>current<% end_if %>" id="Menu-AssetAdmin">
|
|
||||||
<a href="admin/assets/">
|
|
||||||
<span class="text"><% _t('AssetAdmin.EditOrgMenu', 'Edit & organize') %></span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="last <% if Top.class == 'CMSFileAddController' %>current<% end_if %>" id="Menu-CMSFileAddController">
|
|
||||||
<a href="admin/assets/add">
|
|
||||||
<span class="text"><% _t('AssetAdmin.ADDFILES', 'Add files') %></span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<% end_if %>
|
|
||||||
</li>
|
</li>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user