Migrate the delete button for categories to FA6
authorAlexander Ebert <ebert@woltlab.com>
Tue, 28 Mar 2023 14:51:45 +0000 (16:51 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 28 Mar 2023 14:51:45 +0000 (16:51 +0200)
Fixes #5371

wcfsetup/install/files/acp/templates/categoryList.tpl

index 0d05a4ebf2935d9627e8da5dfcd13180fb9c6dfc..ffd1da4065c6f0e1d53483c8554b0c6af853541d 100644 (file)
                                                                {/if}
                                                                
                                                                {if $objectType->getProcessor()->canDeleteCategory()}
-                                                                       <span class="icon icon16 fa-times jsObjectAction jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-action="delete" data-confirm-message="{@$objectType->getProcessor()->getLanguageVariable('delete.sure')}"></span>
+                                                                       <button
+                                                                               type="button"
+                                                                               class="jsObjectAction jsTooltip"
+                                                                               title="{lang}wcf.global.button.delete{/lang}"
+                                                                               data-object-action="delete"
+                                                                               data-confirm-message="{@$objectType->getProcessor()->getLanguageVariable('delete.sure')}"
+                                                                       >
+                                                                               {icon name='xmark'}
+                                                                       </button>
                                                                {/if}
                                                                
                                                                {event name='itemButtons'}