forked from baron/baron-sso
CSV 내보내기 버튼 공통
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useInfiniteQuery } from "@tanstack/react-query";
|
||||
import type { AxiosError } from "axios";
|
||||
import { ListChecks, RefreshCw, Search } from "lucide-react";
|
||||
import { Download, RefreshCw, Search } from "lucide-react";
|
||||
import * as React from "react";
|
||||
import {
|
||||
formatAuditValue,
|
||||
@@ -92,7 +92,7 @@ function AuditLogsPage() {
|
||||
title={t("ui.common.audit.title", "감사 로그")}
|
||||
description={t(
|
||||
"msg.admin.audit.subtitle",
|
||||
"Command 요청 기반 ClickHouse 로그를 조회합니다. 사용자/테넌트는 추후 세션 연동 시 자동 채워집니다.",
|
||||
"관리자 작업 이력을 조회합니다.",
|
||||
)}
|
||||
actions={
|
||||
<>
|
||||
@@ -110,8 +110,8 @@ function AuditLogsPage() {
|
||||
{t("ui.common.refresh", "새로고침")}
|
||||
</Button>
|
||||
<Button>
|
||||
<ListChecks size={16} />
|
||||
{t("ui.admin.audit.export_csv", "Export CSV")}
|
||||
<Download size={16} />
|
||||
{t("ui.common.export_csv", "CSV 내보내기")}
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
|
||||
@@ -19,6 +19,12 @@ loading = "Loading audit logs..."
|
||||
[msg.common.audit.registry]
|
||||
count = "{{count}} logs"
|
||||
|
||||
[msg.admin.audit]
|
||||
subtitle = "View administrator activity history."
|
||||
|
||||
[msg.dev.audit]
|
||||
subtitle = "View developer activity history within the current app scope."
|
||||
|
||||
[ui.common]
|
||||
apply = "Apply"
|
||||
actions = "Actions"
|
||||
@@ -47,6 +53,7 @@ disabled = "Disabled"
|
||||
edit = "Edit"
|
||||
enabled = "Enabled"
|
||||
export = "Export"
|
||||
export_csv = "Export CSV"
|
||||
export_with_ids = "Include UUID"
|
||||
export_without_ids = "Export without UUID"
|
||||
fail = "Fail"
|
||||
|
||||
@@ -19,6 +19,12 @@ loading = "Loading audit logs..."
|
||||
[msg.common.audit.registry]
|
||||
count = "총 {{count}}개 로그"
|
||||
|
||||
[msg.admin.audit]
|
||||
subtitle = "관리자 작업 이력을 조회합니다."
|
||||
|
||||
[msg.dev.audit]
|
||||
subtitle = "현재 앱 범위의 개발자 작업 이력을 조회합니다."
|
||||
|
||||
[ui.common]
|
||||
apply = "적용"
|
||||
actions = "액션"
|
||||
@@ -47,6 +53,7 @@ disabled = "사용 안 함"
|
||||
edit = "편집"
|
||||
enabled = "사용"
|
||||
export = "내보내기"
|
||||
export_csv = "CSV 내보내기"
|
||||
export_with_ids = "UUID 포함"
|
||||
export_without_ids = "UUID 제외 내보내기"
|
||||
fail = "실패"
|
||||
|
||||
@@ -19,6 +19,12 @@ loading = ""
|
||||
[msg.common.audit.registry]
|
||||
count = ""
|
||||
|
||||
[msg.admin.audit]
|
||||
subtitle = ""
|
||||
|
||||
[msg.dev.audit]
|
||||
subtitle = ""
|
||||
|
||||
[ui.common]
|
||||
apply = "Apply"
|
||||
actions = ""
|
||||
@@ -47,6 +53,7 @@ disabled = ""
|
||||
edit = ""
|
||||
enabled = ""
|
||||
export = ""
|
||||
export_csv = ""
|
||||
export_with_ids = ""
|
||||
export_without_ids = ""
|
||||
fail = ""
|
||||
|
||||
@@ -124,7 +124,7 @@ function AuditLogsPage() {
|
||||
title={t("ui.common.audit.title", "Audit Logs")}
|
||||
description={t(
|
||||
"msg.dev.audit.subtitle",
|
||||
"Shows DevFront activity history within current tenant/app scope.",
|
||||
"현재 앱 범위의 개발자 작업 이력을 조회합니다.",
|
||||
)}
|
||||
actions={
|
||||
<>
|
||||
@@ -146,7 +146,7 @@ function AuditLogsPage() {
|
||||
onClick={handleExportCsv}
|
||||
>
|
||||
<Download size={16} />
|
||||
{t("ui.dev.clients.consents.export_csv", "Export CSV")}
|
||||
{t("ui.common.export_csv", "CSV 내보내기")}
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user