fix: redeem item status display 上架中/未上架 with indicators

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
这个提交包含在:
cryptocommuniums-afk
2026-02-16 18:56:53 +08:00
父节点 996460698f
当前提交 87ce46ed1a

查看文件

@@ -294,7 +294,7 @@ export default function AdminRedeemPage() {
checked={form.is_active} checked={form.is_active}
onChange={(e) => setForm((prev) => ({ ...prev, is_active: e.target.checked }))} onChange={(e) => setForm((prev) => ({ ...prev, is_active: e.target.checked }))}
/> />
{tx("启用", "Enabled")} {tx("上架", "Listed")}
</label> </label>
<label className="flex items-center gap-2 text-sm"> <label className="flex items-center gap-2 text-sm">
<input <input
@@ -363,7 +363,7 @@ export default function AdminRedeemPage() {
</p> </p>
<p className="text-xs text-zinc-600"> <p className="text-xs text-zinc-600">
{tx("状态:", "Status: ")} {tx("状态:", "Status: ")}
{item.is_active ? tx("启用", "Enabled") : tx("架", "Disabled")} {item.is_active ? `🟢 ${tx("上架中", "Listed")}` : `🔴 ${tx("未上架", "Unlisted")}`}
{" · "} {" · "}
{tx("范围:", "Scope: ")} {tx("范围:", "Scope: ")}
{item.is_global ? tx("全局", "Global") : tx("非全局", "Non-global")} {item.is_global ? tx("全局", "Global") : tx("非全局", "Non-global")}