mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
recipient idea
This commit is contained in:
@ -18,6 +18,7 @@ import {
|
|||||||
import { classNames, NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib";
|
import { classNames, NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib";
|
||||||
import {
|
import {
|
||||||
PaperAirplaneIcon,
|
PaperAirplaneIcon,
|
||||||
|
UserCircleIcon,
|
||||||
UserGroupIcon,
|
UserGroupIcon,
|
||||||
UserIcon,
|
UserIcon,
|
||||||
UsersIcon,
|
UsersIcon,
|
||||||
@ -118,7 +119,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
confirm(
|
confirm(
|
||||||
`Send document out to ${props?.document?.recipient?.length} recipients?`
|
`Send document out to ${props?.document?.Recipient?.length} recipients?`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
||||||
@ -128,6 +129,18 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="overflow-hidden rounded-md bg-white shadow mt-10">
|
||||||
|
<ul role="list" className="divide-y divide-gray-200">
|
||||||
|
{props?.document?.Recipient.map((item: any) => (
|
||||||
|
<li key={item.id} className="px-6 py-4">
|
||||||
|
<div>
|
||||||
|
<UserCircleIcon className="inline w-6 mr-2"></UserCircleIcon>
|
||||||
|
{item.email}
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
))}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user