Fixed ad list markup
authorAlexander Ebert <ebert@woltlab.com>
Wed, 13 Jul 2016 10:52:31 +0000 (12:52 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 13 Jul 2016 10:52:38 +0000 (12:52 +0200)
wcfsetup/install/files/acp/templates/adList.tpl

index 5222edc766f2f63e56f5e14db7bb9f0b7c1d6f55..ef11a1939360ed5d8ddba57b9626ed27259041f9 100644 (file)
@@ -36,6 +36,8 @@
                        {foreach from=$objects item='ad'}
                                <li class="sortableNode sortableNoNesting jsAd" data-object-id="{@$ad->adID}">
                                        <span class="sortableNodeLabel">
+                                               <a href="{link controller='AdEdit' object=$ad}{/link}">{$ad->adName}</a>
+                                               
                                                <span class="statusDisplay sortableButtonContainer">
                                                        <span class="icon icon16 fa-{if !$ad->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if $ad->isDisabled}enable{else}disable{/if}{/lang}" data-object-id="{@$ad->adID}"></span>
                                                        <a href="{link controller='AdEdit' object=$ad}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
@@ -43,8 +45,6 @@
                                                        
                                                        {event name='itemButtons'}
                                                </span>
-                                               
-                                               <a href="{link controller='AdEdit' object=$ad}{/link}">{$ad->adName}</a>
                                        </span>
                                </li>
                        {/foreach}