diff --git a/app/static/js/ResourceLists/ResourceList.js b/app/static/js/ResourceLists/ResourceList.js index 7adc0e0876cb069c52d391409cf6156ad601a56f..7fe7dec6da3e52b96ddb6e394a198dde4522e7db 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 e6cfff34193b4e21d3e5971e1ae09c41da8d7aa3..d871ec31854a7c939ee04d18fc837c504c4c871a 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 17b0b7c663e7d2da8bd7d9499ffd171f539dedfd..9540607921b5addf0566695a84ab490a751e2129 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' %}