fix(admin): drop the view-all button from the ticket process view

The reference theme has no such element above the inline process form;
filter reset is already handled by the type buttons and status subsubsub.
Contract label list updated accordingly.
This commit is contained in:
kate522 committed 2026-09-20 15:25:01 +08:00
1 parent 0a958644b8
commit c4531b9757
2 files changed
+3 -5

No files matched your search

+2 -4
View File
@@ -185,10 +185,8 @@ trait UsersMenusTickets {
$process_id = isset($_GET['id']) ? (string) wp_unslash($_GET['id']) : '';
if ($process_action === 'process') {
echo '<a class="button" href="' . esc_url(remove_query_arg(['action', 'id'], $page_url)) . '" style="margin:8px 0;">' . esc_html__('查看全部', 'aksrt') . '</a>';
}
// 处理视图不设“查看全部”链接(参考主题无此元素):重置过滤由顶部
// 类型按钮组与状态 subsubsub 承担,工单行内直接展开处理表单。
echo '<div class="table-box" style="overflow-y:auto;width:100%;">';
echo '<table class="widefat fixed striped posts" style="min-width:1000px;">';
echo '<thead><tr>';