diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json index 2c7e514..6802d00 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de/translation.json @@ -162,6 +162,7 @@ "userProfile.button.createApiKey.popconfirm.title": "Name für den neuen API-Schlüssel", "userProfile.button.createApiKey.popconfirm.okText": "Erstellen", "userProfile.button.copyToClipboard.notification": "API Token in die Zwischenablage kopiert", + "userProfile.icon.viewApiDoc": "Api-Dokumentation anschauen", "scanners.column.name": "Name", "scanners.column.usedBy": "Verwendet von", "scanners.column.lastUsed": "Zuletzt verwendet", diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index f8157c9..7dc6fa2 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -162,6 +162,7 @@ "userProfile.button.createApiKey.popconfirm.title": "Name for the new API key", "userProfile.button.createApiKey.popconfirm.okText": "Create", "userProfile.button.copyToClipboard.notification": "API token copied to clipboard", + "userProfile.icon.viewApiDoc": "View api documentation", "scanners.column.name": "Name", "scanners.column.usedBy": "Used by", "scanners.column.lastUsed": "Last used", diff --git a/src/Pages/UserProfile/index.js b/src/Pages/UserProfile/index.js index fe22495..cbeee96 100644 --- a/src/Pages/UserProfile/index.js +++ b/src/Pages/UserProfile/index.js @@ -5,10 +5,12 @@ import { Form, Input, Popconfirm, + Popover, Row, Select, Space, Table, + Tooltip, Upload, notification, } from "antd"; @@ -32,6 +34,7 @@ import { CopyOutlined, EyeInvisibleOutlined, EyeOutlined, + FileTextOutlined, KeyOutlined, } from "@ant-design/icons"; @@ -463,7 +466,15 @@ export default function UserProfile() { >

{t("userProfile.header.yourApiKeys")} ( - {webSocketContext.User.ApiKeys.length}) + {webSocketContext.User.ApiKeys.length}){" "} + + + + +