Improved navigation in menu management forms
authorMarcel Werk <burntime@woltlab.com>
Fri, 15 Apr 2016 20:08:57 +0000 (22:08 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 15 Apr 2016 20:08:57 +0000 (22:08 +0200)
wcfsetup/install/files/acp/templates/menuAdd.tpl
wcfsetup/install/files/acp/templates/menuItemList.tpl

index c9b28c23e70ed0cd5b56657658115e5ab9c9ce4d..f0420785873f587d20fe7b9ef9fbd9983cf9fdc8 100644 (file)
@@ -7,6 +7,9 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
+                       {if $action == 'edit'}
+                               <li><a href="{link controller='MenuItemList' id=$menuID}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.item.list{/lang}</span></a></li>
+                       {/if}
                        <li><a href="{link controller='MenuList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.list{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}
index 3881e23025bd3b7db376c18d2701f3be8d484108..f5c821412074d01d5499ff601f419dd604d6a087 100644 (file)
@@ -17,6 +17,7 @@
        
        <nav class="contentHeaderNavigation">
                <ul>
+                       <li><a href="{link controller='MenuEdit' id=$menuID}{/link}" class="button"><span class="icon icon16 fa-pencil"></span> <span>{lang}wcf.acp.menu.edit{/lang}</span></a></li>
                        <li><a href="{link controller='MenuItemAdd'}menuID={@$menuID}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.menu.item.add{/lang}</span></a></li>
                        
                        {event name='contentHeaderNavigation'}