diff --git a/apps/perms/templates/perms/remote_app_permission_list.html b/apps/perms/templates/perms/remote_app_permission_list.html
index 8f1681781..3812b747b 100644
--- a/apps/perms/templates/perms/remote_app_permission_list.html
+++ b/apps/perms/templates/perms/remote_app_permission_list.html
@@ -15,6 +15,7 @@
{% trans 'User' %} |
{% trans 'User group' %} |
{% trans 'RemoteApp' %} |
+ {% trans 'System user' %} |
{% trans 'Validity' %} |
{% trans 'Action' %} |
@@ -49,13 +50,17 @@ function initTable() {
$(td).html(num);
}},
{targets: 5, createdCell: function (td, cellData, rowData) {
+ var num = cellData.length;
+ $(td).html(num);
+ }},
+ {targets: 6, createdCell: function (td, cellData, rowData) {
if (!cellData) {
$(td).html('')
} else {
$(td).html('')
}
}},
- {targets: 6, createdCell: function (td, cellData, rowData) {
+ {targets: 7, createdCell: function (td, cellData, rowData) {
var update_btn = '{% trans "Update" %}'.replace("{{ DEFAULT_PK }}", cellData);
var del_btn = '{% trans "Delete" %}'.replace('{{ DEFAULT_PK }}', cellData);
$(td).html(update_btn + del_btn)
@@ -68,6 +73,7 @@ function initTable() {
{data: "users", orderable: false},
{data: "user_groups", orderable: false},
{data: "remote_apps", orderable: false},
+ {data: "system_users", orderable: false},
{data: "is_valid", orderable: false},
{data: "id", orderable: false}
],