mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 08:42:12 +10:00
Merge branch 'main' into feat/DOC-170-add-name-field
This commit is contained in:
@ -45,10 +45,11 @@ export default function RecipientSelector(props: any) {
|
|||||||
{props?.recipients.map((recipient: any) => (
|
{props?.recipients.map((recipient: any) => (
|
||||||
<Listbox.Option
|
<Listbox.Option
|
||||||
key={recipient?.id}
|
key={recipient?.id}
|
||||||
|
disabled={!recipient?.email}
|
||||||
className={({ active }) =>
|
className={({ active }) =>
|
||||||
classNames(
|
classNames(
|
||||||
active ? "bg-neon-dark text-white" : "text-gray-900",
|
active ? "bg-neon-dark text-white" : "text-gray-900",
|
||||||
"relative cursor-default select-none py-2 pl-3 pr-9"
|
"relative cursor-default select-none py-2 pl-3 pr-9 aria-disabled:opacity-50 aria-disabled:cursor-not-allowed"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
value={recipient}>
|
value={recipient}>
|
||||||
@ -66,7 +67,7 @@ export default function RecipientSelector(props: any) {
|
|||||||
selected ? "font-semibold" : "font-normal",
|
selected ? "font-semibold" : "font-normal",
|
||||||
"ml-3 block truncate"
|
"ml-3 block truncate"
|
||||||
)}>
|
)}>
|
||||||
{`${recipient?.name} <${recipient?.email}>`}
|
{`${recipient?.name} <${recipient?.email || 'unknown'}>`}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -76,7 +77,7 @@ export default function RecipientSelector(props: any) {
|
|||||||
active ? "text-white" : "text-neon-dark",
|
active ? "text-white" : "text-neon-dark",
|
||||||
"absolute inset-y-0 right-0 flex items-center pr-4"
|
"absolute inset-y-0 right-0 flex items-center pr-4"
|
||||||
)}>
|
)}>
|
||||||
<CheckIcon className="h-5 w-5" aria-hidden="true" />
|
<CheckIcon className="h-5 w-5" strokeWidth={3} aria-hidden="true" />
|
||||||
</span>
|
</span>
|
||||||
) : null}
|
) : null}
|
||||||
</>
|
</>
|
||||||
|
|||||||
@ -11,8 +11,8 @@ export const signingRequestTemplate = (
|
|||||||
user: any
|
user: any
|
||||||
) => {
|
) => {
|
||||||
const customContent = `
|
const customContent = `
|
||||||
<p style="margin: 30px;">
|
<p style="margin: 30px 0px; text-align: center">
|
||||||
<a href="${ctaLink}" style="background-color: #37f095; color: white; border-color: transparent; border-width: 1px; border-radius: 0.375rem; font-size: 18px; padding-left: 16px; padding-right: 16px; padding-top: 10px; padding-bottom: 10px; text-decoration: none; margin-top: 4px; margin-bottom: 4px;">
|
<a href="${ctaLink}" style="background-color: #37f095; white-space: nowrap; color: white; border-color: transparent; border-width: 1px; border-radius: 0.375rem; font-size: 18px; padding-left: 16px; padding-right: 16px; padding-top: 10px; padding-bottom: 10px; text-decoration: none; margin-top: 4px; margin-bottom: 4px;">
|
||||||
${ctaLabel}
|
${ctaLabel}
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user