Skip to content

Commit

Permalink
Added license header for Changed Revoke Invite to Revoke with archive…
Browse files Browse the repository at this point in the history
… box x mark as icon
  • Loading branch information
alihadimazeh committed Jun 19, 2024
1 parent f43c67c commit 0202a4e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"invited": {
"time_sent": "Time Sent",
"valid": "Valid",
"revoke_invite": "Revoke Invite"
"revoke": "Revoke"
}
},
"server_rooms": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { Table, Dropdown } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import { CheckIcon, XMarkIcon, XCircleIcon } from '@heroicons/react/24/solid';
import { CheckIcon, XMarkIcon, ArchiveBoxXMarkIcon } from '@heroicons/react/24/solid';
import { EllipsisVerticalIcon } from '@heroicons/react/24/outline';
import SortBy from '../../shared_components/search/SortBy';
import useInvitations from '../../../hooks/queries/admin/manage_users/useInvitations';
Expand Down Expand Up @@ -81,8 +81,8 @@ export default function InvitedUsersTable({ searchInput }) {
<Dropdown.Toggle className="hi-s" as={EllipsisVerticalIcon} />
<Dropdown.Menu>
<Dropdown.Item onClick={() => revokeUserInvite.mutate(invitation.id)}>
<XCircleIcon className="hi-s me-2" />
{t('admin.manage_users.invited.revoke_invite')}
<ArchiveBoxXMarkIcon className="hi-s me-2" />
{t('admin.manage_users.invited.revoke')}
</Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
// BigBlueButton open source conferencing system - http://www.bigbluebutton.org/.
//
// Copyright (c) 2022 BigBlueButton Inc. and by respective authors (see below).
//
// This program is free software; you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation; either version 3.0 of the License, or (at your option) any later
// version.
//
// Greenlight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
// PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License along
// with Greenlight; if not, see <http://www.gnu.org/licenses/>.

import { useMutation, useQueryClient } from 'react-query';
import { toast } from 'react-toastify';
import { useTranslation } from 'react-i18next';
Expand Down

0 comments on commit 0202a4e

Please sign in to comment.