From 01aa92adc0c435a69605aba248d774fb185f14ea Mon Sep 17 00:00:00 2001 From: Orange Date: Fri, 5 Mar 2021 16:14:09 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0SSH=E6=8C=87=E7=BA=B9?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/cn.json | 1 + src/i18n/langs/en.json | 1 + src/views/assets/AdminUser/AdminUserDetail/Detail.vue | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index d59ac95ca..425f219f6 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -167,6 +167,7 @@ "Version": "版本", "command_filter_list": "命令过滤器列表", "date_joined": "创建日期", + "sshKeyFingerprint": "SSH 指纹", "ip": "IP", "sshkey": "sshkey", "GroupsHelpMessage": "请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 772587479..a596ef004 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -167,6 +167,7 @@ "Version": "Version", "command_filter_list": "Command filter list", "date_joined": "Date joined", + "sshKeyFingerprint": "SSH fingerprint", "ip": "IP", "sshkey": "sshkey", "GroupsHelpMessage": "Please fill in user groups, separated by commas if there are multiple user groups(Please fill in the existing user groups)", diff --git a/src/views/assets/AdminUser/AdminUserDetail/Detail.vue b/src/views/assets/AdminUser/AdminUserDetail/Detail.vue index 732f7896b..4cdc74e4c 100644 --- a/src/views/assets/AdminUser/AdminUserDetail/Detail.vue +++ b/src/views/assets/AdminUser/AdminUserDetail/Detail.vue @@ -66,6 +66,10 @@ export default { key: this.$t('assets.Username'), value: this.object.username }, + { + key: this.$t('assets.sshKeyFingerprint'), + value: this.object.ssh_key_fingerprint + }, { key: this.$t('assets.date_joined'), value: toSafeLocalDateStr(this.object.date_created)