Release v2.11.1
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Pending invitations page renderer.
|
||||
|
||||
const { renderView } = require('../../../view');
|
||||
|
||||
module.exports = function renderInvitationsPage(data, currentUser) {
|
||||
return renderView('settings/invitations/list', {
|
||||
title: 'Pending invitations',
|
||||
active: 'users-invitations',
|
||||
userManagementMenuOpen: true,
|
||||
currentUser: currentUser || null,
|
||||
message: data.message || '',
|
||||
invitations: data.invitations || [],
|
||||
pagination: data.pagination || null
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user