From aabcf7f31cb493ba7648b79afb6c823cbdfd0788 Mon Sep 17 00:00:00 2001 From: BaiJiangJie <32935519+BaiJiangJie@users.noreply.github.com> Date: Mon, 22 Apr 2019 12:31:40 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E6=8E=88=E6=9D=83=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E4=BF=A1=E6=81=AF=E6=B7=BB=E5=8A=A0action?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=20(#2618)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/templates/perms/asset_permission_list.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/perms/templates/perms/asset_permission_list.html b/apps/perms/templates/perms/asset_permission_list.html index 4ae51ad52..9af4577f1 100644 --- a/apps/perms/templates/perms/asset_permission_list.html +++ b/apps/perms/templates/perms/asset_permission_list.html @@ -130,6 +130,9 @@ function format(d) { if (d.system_users.length > 0) { data += makeLabel(["{% trans 'System user' %}", d.system_users.join(", ")]) } + if (d.actions.length > 0) { + data += makeLabel(["{% trans 'Action' %}", d.actions.join(", ")]) + } return data }