Permalink
Browse files

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.
  • Loading branch information...
1 parent 2e9b5e9 commit 92e4b4fc5bf203ce523f355108d1caed9f1538eb @adrexia adrexia committed with chillu Oct 22, 2012
Showing with 1 addition and 16 deletions.
  1. +1 −16 admin/templates/Includes/LeftAndMain_Menu.ss
@@ -27,22 +27,7 @@
<a href="$Link" <% if Code == 'Help' %>target="_blank"<% end_if%>>
<span class="icon icon-16 icon-{$Code.LowerCase}">&nbsp;</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 &amp; 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>

0 comments on commit 92e4b4f

Please sign in to comment.