fix(signin): align check-in feedback with reference theme

This commit is contained in:
kate522 committed 2026-10-29 17:06:25 +08:00
1 parent 1df2822f01
commit 8e9d3a7e49
7 files changed
+334 -65

No files matched your search

+1 -3
View File
@@ -64,7 +64,7 @@ if (!function_exists('aksrt_header_user_checkin_btn')) :
);
}
return aksrt_get_user_checkin_details_link(
'but block c-yellow is-done',
'but block c-yellow',
'<i class="fa far fa-calendar-check" aria-hidden="true"></i> '
. esc_html__('今日已签到', 'aksrt')
);
@@ -75,7 +75,6 @@ if (!function_exists('aksrt_header_user_checkin_btn')) :
// instead of the UA button stylesheet (font/UI 1:1 with the reference).
if ($class !== null) {
return '<a class="' . esc_attr($class) . '" href="javascript:;" data-signin-btn'
. ' data-signin-idle-label="' . esc_attr__('签到', 'aksrt') . '"'
. ' data-signin-done-label="' . esc_attr__('已签到', 'aksrt') . '">'
. '<i class="fa far fa-calendar-check ml3 mr6" aria-hidden="true"></i>'
. '<span data-signin-label>' . esc_html__('签到', 'aksrt') . '</span>'
@@ -83,7 +82,6 @@ if (!function_exists('aksrt_header_user_checkin_btn')) :
}
return '<a class="but block c-yellow" href="javascript:;" data-signin-btn'
. ' data-signin-idle-label="' . esc_attr__('签到', 'aksrt') . '"'
. ' data-signin-done-label="' . esc_attr__('今日已签到', 'aksrt') . '">'
. '<i class="fa far fa-calendar-check" aria-hidden="true"></i> '
. '<span data-signin-label>' . esc_html__('签到领取今日奖励', 'aksrt') . '</span>'