Browse Source

refactor/gui-v2-user-management-invite-ui-improvements

pull/2854/head
Muhammed Mustafa 2 years ago
parent
commit
4be23a7b91
  1. 7
      packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue

7
packages/nc-gui-v2/components/dashboard/settings/userManagement/UsersModal.vue

@ -151,9 +151,9 @@ const clickInviteMore = () => {
</a-alert> </a-alert>
<div class="flex text-xs text-gray-500 mt-2 justify-start ml-2"> <div class="flex text-xs text-gray-500 mt-2 justify-start ml-2">
Looks like you have not configured mailer yet! Please copy above invite link and send it to Looks like you have not configured mailer yet! Please copy above invite link and send it to
{{ usersData.invitationToken && usersData.emails }}. {{ usersData.invitationToken && usersData.emails }}
</div> </div>
<div class="flex flex-row justify-start mt-4 ml-1"> <div class="flex flex-row justify-start mt-4 ml-2">
<a-button size="small" outlined @click="clickInviteMore"> <a-button size="small" outlined @click="clickInviteMore">
<div class="flex flex-row justify-center items-center space-x-0.5"> <div class="flex flex-row justify-center items-center space-x-0.5">
<SendIcon height="0.8rem" class="flex mx-auto text-gray-600" /> <SendIcon height="0.8rem" class="flex mx-auto text-gray-600" />
@ -198,7 +198,8 @@ const clickInviteMore = () => {
</div> </div>
<div class="flex flex-row justify-center"> <div class="flex flex-row justify-center">
<a-button type="primary" html-type="submit"> <a-button type="primary" html-type="submit">
<div class="flex flex-row justify-center items-center space-x-1.5"> <div v-if="selectedUser">Save</div>
<div v-else class="flex flex-row justify-center items-center space-x-1.5">
<SendIcon height="0.8rem" class="flex" /> <SendIcon height="0.8rem" class="flex" />
<div>Invite</div> <div>Invite</div>
</div> </div>

Loading…
Cancel
Save