Browse Source

[Update] 授权列表下拉信息添加action字段 (#2618)

pull/2622/head
BaiJiangJie 6 years ago committed by 老广
parent
commit
aabcf7f31c
  1. 3
      apps/perms/templates/perms/asset_permission_list.html

3
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
}

Loading…
Cancel
Save