mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #890 from adrexia/7956-remove-files-subnav
Remove sub navigation for "Files" (fixes 7956)
This commit is contained in:
commit
1692a1023d
@ -28,21 +28,6 @@
|
||||
<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 %>
|
||||
</li>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user