mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove sub navigation for "Files" (fixes 7956)
This commit is contained in:
parent
ee3954d5d7
commit
84851c96a7
@ -27,22 +27,7 @@
|
||||
<a href="$Link" <% if Code == 'Help' %>target="_blank"<% end_if%>>
|
||||
<span class="icon icon-16 icon-{$Code.LowerCase}"> </span>
|
||||
<span class="text">$Title</span>
|
||||
</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 %>
|
||||
</a>
|
||||
</li>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user