mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
chore: rename "none" document access to "no restrictions" (#1138)
## Description Renames the "None" document access option to "No restrictions".
This commit is contained in:
@ -20,7 +20,7 @@ export const DocumentGlobalAuthAccessSelect = forwardRef<HTMLButtonElement, Sele
|
|||||||
(props, ref) => (
|
(props, ref) => (
|
||||||
<Select {...props}>
|
<Select {...props}>
|
||||||
<SelectTrigger ref={ref} className="bg-background text-muted-foreground">
|
<SelectTrigger ref={ref} className="bg-background text-muted-foreground">
|
||||||
<SelectValue data-testid="documentAccessSelectValue" placeholder="None" />
|
<SelectValue data-testid="documentAccessSelectValue" placeholder="No restrictions" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
|
|
||||||
<SelectContent position="popper">
|
<SelectContent position="popper">
|
||||||
@ -31,7 +31,7 @@ export const DocumentGlobalAuthAccessSelect = forwardRef<HTMLButtonElement, Sele
|
|||||||
))}
|
))}
|
||||||
|
|
||||||
{/* Note: -1 is remapped in the Zod schema to the required value. */}
|
{/* Note: -1 is remapped in the Zod schema to the required value. */}
|
||||||
<SelectItem value={'-1'}>None</SelectItem>
|
<SelectItem value={'-1'}>No restrictions</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
),
|
),
|
||||||
@ -57,8 +57,8 @@ export const DocumentGlobalAuthAccessTooltip = () => (
|
|||||||
<strong>Require account</strong> - The recipient must be signed in to view the document
|
<strong>Require account</strong> - The recipient must be signed in to view the document
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>None</strong> - The document can be accessed directly by the URL sent to the
|
<strong>No restrictions</strong> - The document can be accessed directly by the URL sent
|
||||||
recipient
|
to the recipient
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
|
|||||||
@ -20,7 +20,7 @@ export const DocumentGlobalAuthActionSelect = forwardRef<HTMLButtonElement, Sele
|
|||||||
(props, ref) => (
|
(props, ref) => (
|
||||||
<Select {...props}>
|
<Select {...props}>
|
||||||
<SelectTrigger className="bg-background text-muted-foreground">
|
<SelectTrigger className="bg-background text-muted-foreground">
|
||||||
<SelectValue ref={ref} data-testid="documentActionSelectValue" placeholder="None" />
|
<SelectValue ref={ref} data-testid="documentActionSelectValue" placeholder="No restrictions" />
|
||||||
</SelectTrigger>
|
</SelectTrigger>
|
||||||
|
|
||||||
<SelectContent position="popper">
|
<SelectContent position="popper">
|
||||||
@ -33,7 +33,7 @@ export const DocumentGlobalAuthActionSelect = forwardRef<HTMLButtonElement, Sele
|
|||||||
))}
|
))}
|
||||||
|
|
||||||
{/* Note: -1 is remapped in the Zod schema to the required value. */}
|
{/* Note: -1 is remapped in the Zod schema to the required value. */}
|
||||||
<SelectItem value={'-1'}>None</SelectItem>
|
<SelectItem value={'-1'}>No restrictions</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
),
|
),
|
||||||
@ -70,7 +70,7 @@ export const DocumentGlobalAuthActionTooltip = () => (
|
|||||||
their settings
|
their settings
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>None</strong> - No authentication required
|
<strong>No restrictions</strong> - No authentication required
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
|
|||||||
Reference in New Issue
Block a user