From 06d7f8d75406707ccae9751a9653c7c8a1033778 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Mon, 30 Aug 2021 18:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=AE=A4=E8=AF=81=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=AD=E5=A2=9E=E5=8A=A0=E8=8A=82=E7=82=B9=E6=95=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/web/actions/default/settings/authority/index.go | 1 + web/views/@default/settings/authority/index.html | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/internal/web/actions/default/settings/authority/index.go b/internal/web/actions/default/settings/authority/index.go index 49a47f39..9feef0f8 100644 --- a/internal/web/actions/default/settings/authority/index.go +++ b/internal/web/actions/default/settings/authority/index.go @@ -42,6 +42,7 @@ func (this *IndexAction) RunGet(params struct{}) { "macAddresses": keyResp.AuthorityKey.MacAddresses, "hostname": keyResp.AuthorityKey.Hostname, "company": keyResp.AuthorityKey.Company, + "nodes": keyResp.AuthorityKey.Nodes, "isExpired": !isActive, "updatedTime": timeutil.FormatTime("Y-m-d H:i:s", keyResp.AuthorityKey.UpdatedAt), } diff --git a/web/views/@default/settings/authority/index.html b/web/views/@default/settings/authority/index.html index beaa8007..2b4b2344 100644 --- a/web/views/@default/settings/authority/index.html +++ b/web/views/@default/settings/authority/index.html @@ -7,11 +7,15 @@
- + + + + +
状态状态 已认证
节点数限制{{key.nodes}}个节点
公司/组织名 {{key.company}}