diff --git a/app/static/js/ResourceLists/ResourceList.js b/app/static/js/ResourceLists/ResourceList.js index 7adc0e08..7fe7dec6 100644 --- a/app/static/js/ResourceLists/ResourceList.js +++ b/app/static/js/ResourceLists/ResourceList.js @@ -10,9 +10,9 @@ class ResourceList { JobList.autoInit(); JobInputList.autoInit(); JobResultList.autoInit(); - PublicUserList.autoInit(); SpaCyNLPPipelineModelList.autoInit(); TesseractOCRPipelineModelList.autoInit(); + UserList.autoInit(); AdminUserList.autoInit(); } diff --git a/app/static/js/ResourceLists/PublicUserList.js b/app/static/js/ResourceLists/UserList.js similarity index 95% rename from app/static/js/ResourceLists/PublicUserList.js rename to app/static/js/ResourceLists/UserList.js index e6cfff34..d871ec31 100644 --- a/app/static/js/ResourceLists/PublicUserList.js +++ b/app/static/js/ResourceLists/UserList.js @@ -1,7 +1,7 @@ -class PublicUserList extends ResourceList { +class UserList extends ResourceList { static autoInit() { - for (let publicUserListElement of document.querySelectorAll('.public-user-list:not(.no-autoinit)')) { - new PublicUserList(publicUserListElement); + for (let publicUserListElement of document.querySelectorAll('.user-list:not(.no-autoinit)')) { + new UserList(publicUserListElement); } } diff --git a/app/templates/_scripts.html.j2 b/app/templates/_scripts.html.j2 index 17b0b7c6..95406079 100644 --- a/app/templates/_scripts.html.j2 +++ b/app/templates/_scripts.html.j2 @@ -24,9 +24,9 @@ 'js/ResourceLists/JobList.js', 'js/ResourceLists/JobInputList.js', 'js/ResourceLists/JobResultList.js', - 'js/ResourceLists/PublicUserList.js', 'js/ResourceLists/SpacyNLPPipelineModelList.js', 'js/ResourceLists/TesseractOCRPipelineModelList.js', + 'js/ResourceLists/UserList.js', 'js/ResourceLists/AdminUserList.js', 'js/XMLtoObject.js' %}