feat: user's roles prompt on invite modal
This commit is contained in:
@@ -261,6 +261,80 @@
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-if="newInvites.length"
|
||||
class="
|
||||
px-4
|
||||
mt-4
|
||||
py-4
|
||||
rounded
|
||||
border border-dividerLight
|
||||
bg-primaryLight
|
||||
"
|
||||
>
|
||||
<span class="pb-2 flex items-center font-semibold">
|
||||
<i class="text-secondaryLight mr-2 material-icons">help_outline</i>
|
||||
{{ $t("profile.roles") }}
|
||||
</span>
|
||||
<p>
|
||||
<span class="text-secondaryLight">
|
||||
{{ $t("profile.roles_description") }}
|
||||
</span>
|
||||
</p>
|
||||
<ul class="mt-4 space-y-4">
|
||||
<li class="flex">
|
||||
<span
|
||||
class="
|
||||
font-semibold
|
||||
text-secondaryDark
|
||||
uppercase
|
||||
truncate
|
||||
max-w-16
|
||||
w-1/4
|
||||
"
|
||||
>
|
||||
{{ $t("profile.owner") }}
|
||||
</span>
|
||||
<span class="flex flex-1">
|
||||
{{ $t("profile.owner_description") }}
|
||||
</span>
|
||||
</li>
|
||||
<li class="flex">
|
||||
<span
|
||||
class="
|
||||
font-semibold
|
||||
text-secondaryDark
|
||||
uppercase
|
||||
truncate
|
||||
max-w-16
|
||||
w-1/4
|
||||
"
|
||||
>
|
||||
{{ $t("profile.editor") }}
|
||||
</span>
|
||||
<span class="flex flex-1">
|
||||
{{ $t("profile.editor_description") }}
|
||||
</span>
|
||||
</li>
|
||||
<li class="flex">
|
||||
<span
|
||||
class="
|
||||
font-semibold
|
||||
text-secondaryDark
|
||||
uppercase
|
||||
truncate
|
||||
max-w-16
|
||||
w-1/4
|
||||
"
|
||||
>
|
||||
{{ $t("profile.viewer") }}
|
||||
</span>
|
||||
<span class="flex flex-1">
|
||||
{{ $t("profile.viewer_description") }}
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<template #footer>
|
||||
|
||||
@@ -310,6 +310,16 @@
|
||||
"waiting_for_connection": "waiting for connection",
|
||||
"xml": "XML"
|
||||
},
|
||||
"profile": {
|
||||
"roles": "Roles",
|
||||
"roles_description": "Roles are used to control access to the shared collections.",
|
||||
"owner": "Owner",
|
||||
"owner_description": "Owners can add, edit, and delete requests, collections and team members.",
|
||||
"editor": "Editor",
|
||||
"editor_description": "Editors can add, edit, and delete requests.",
|
||||
"viewer": "Viewer",
|
||||
"viewer_description": "Viewers can only view and use requests."
|
||||
},
|
||||
"settings": {
|
||||
"accent_color": "Accent color",
|
||||
"account": "Account",
|
||||
|
||||
Reference in New Issue
Block a user