From 555d9e2b027423c0a27987710cee86d6ddb16e42 Mon Sep 17 00:00:00 2001 From: ipula Date: Fri, 1 Nov 2024 14:22:58 +0100 Subject: [PATCH] add user access table --- js/load.js | 3 +++ locale/en/userAccess.po | 8 ++++++++ templates/management/accessUsers.tpl | 3 +-- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 locale/en/userAccess.po diff --git a/js/load.js b/js/load.js index 1ee1f943881..28f9d4235a2 100644 --- a/js/load.js +++ b/js/load.js @@ -108,6 +108,7 @@ import ListPanel from '@/components/ListPanel/ListPanel.vue'; // Manager components import UserInvitationManager from '@/managers/UserInvitationManager/UserInvitationManager.vue'; +import UserAccessManager from '@/managers/UserAccessManager/UserAccessManager.vue'; // Helper for initializing and tracking Vue controllers import VueRegistry from './classes/VueRegistry.js'; @@ -221,6 +222,8 @@ VueRegistry.registerComponent('PkpListPanel', ListPanel); // Register Invitation Manager VueRegistry.registerComponent('UserInvitationManager', UserInvitationManager); +// Register User Access Manager +VueRegistry.registerComponent('UserAccessManager', UserAccessManager); const pinia = createPinia(); diff --git a/locale/en/userAccess.po b/locale/en/userAccess.po new file mode 100644 index 00000000000..a235ac49d00 --- /dev/null +++ b/locale/en/userAccess.po @@ -0,0 +1,8 @@ +msgid "userAccess.tableHeader.startDate" +msgstr "Start Date" + +msgid "userAccess.tableHeader.name" +msgstr "Name" + +msgid "userAccess.search" +msgstr "Search User" diff --git a/templates/management/accessUsers.tpl b/templates/management/accessUsers.tpl index 5ac71f670b3..f024ceb4a25 100644 --- a/templates/management/accessUsers.tpl +++ b/templates/management/accessUsers.tpl @@ -11,5 +11,4 @@ {* Help Link *} {help file="users-and-roles" class="pkp_help_tab"} -{capture assign=usersUrl}{url router=PKP\core\PKPApplication::ROUTE_COMPONENT component="grid.settings.user.UserGridHandler" op="fetchGrid" oldUserId=$oldUserId escape=false}{/capture} -{load_url_in_div id="userGridContainer" url=$usersUrl} +