diff --git a/apps/perms/templates/perms/remote_app_permission_list.html b/apps/perms/templates/perms/remote_app_permission_list.html
index 8f16817815cec8941ff8b9e4f4c54d41445e14b5..3812b747bd2a47380a305c85b7501c73778831f7 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}
],