Fix order of status icons in `categoryList.tpl` (#3015)
authorFabii547 <Fabii547@users.noreply.github.com>
Sat, 17 Aug 2019 12:06:45 +0000 (14:06 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 17 Aug 2019 12:06:45 +0000 (14:06 +0200)
wcfsetup/install/files/acp/templates/categoryList.tpl

index 864df14b4f7b4c50796a1d187994d3f396cbd9dd..45a823ebf9b0720018f3edfd0ef94dd9093dc48f 100644 (file)
                                                                <span class="icon icon16 fa-arrows sortableNodeHandle"></span>
                                                                
                                                                {if $objectType->getProcessor()->canEditCategory()}
+                                                                       <span class="icon icon16 fa-{if !$category->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if !$category->isDisabled}disable{else}enable{/if}{/lang}" data-object-id="{@$category->categoryID}"></span>
                                                                        <a href="{link controller=$editController application=$objectType->getProcessor()->getApplication() id=$category->categoryID title=$category->getTitle()}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
                                                                {/if}
                                                                
                                                                        <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$category->categoryID}" data-confirm-message="{@$objectType->getProcessor()->getLanguageVariable('delete.sure')}"></span>
                                                                {/if}
                                                                
-                                                               {if $objectType->getProcessor()->canEditCategory()}
-                                                                       <span class="icon icon16 fa-{if !$category->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if !$category->isDisabled}disable{else}enable{/if}{/lang}" data-object-id="{@$category->categoryID}"></span>
-                                                               {/if}
-                                                               
                                                                {event name='itemButtons'}
                                                        </span>
                                                </span>