RED-8817: added fp extraOption description and increase dialog height.
This commit is contained in:
parent
6da85dae52
commit
b1615b7309
@ -1,7 +1,7 @@
|
|||||||
@use 'common-mixins';
|
@use 'common-mixins';
|
||||||
|
|
||||||
.dialog-content {
|
.dialog-content {
|
||||||
height: 408px;
|
height: 470px;
|
||||||
}
|
}
|
||||||
|
|
||||||
cdk-virtual-scroll-viewport {
|
cdk-virtual-scroll-viewport {
|
||||||
|
|||||||
@ -219,6 +219,7 @@ export const getRemoveRedactionOptions = (
|
|||||||
label: translations.FALSE_POSITIVE.extraOptionLabel,
|
label: translations.FALSE_POSITIVE.extraOptionLabel,
|
||||||
checked: false,
|
checked: false,
|
||||||
hidden: !isApprover,
|
hidden: !isApprover,
|
||||||
|
description: translations.FALSE_POSITIVE.extraOptionDescription,
|
||||||
}
|
}
|
||||||
: null,
|
: null,
|
||||||
});
|
});
|
||||||
|
|||||||
@ -6,6 +6,7 @@ export interface DialogOption {
|
|||||||
description: string;
|
description: string;
|
||||||
descriptionBulk?: string;
|
descriptionBulk?: string;
|
||||||
extraOptionLabel?: string;
|
extraOptionLabel?: string;
|
||||||
|
extraOptionDescription?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const redactTextTranslations: Record<'onlyHere' | 'inDossier', DialogOption> = {
|
export const redactTextTranslations: Record<'onlyHere' | 'inDossier', DialogOption> = {
|
||||||
|
|||||||
@ -20,6 +20,7 @@ export const removeRedactionTranslations: { [key in RemoveRedactionOption]: Dial
|
|||||||
description: _('remove-redaction.dialog.content.options.false-positive.description'),
|
description: _('remove-redaction.dialog.content.options.false-positive.description'),
|
||||||
descriptionBulk: _('remove-redaction.dialog.content.options.false-positive.description-bulk'),
|
descriptionBulk: _('remove-redaction.dialog.content.options.false-positive.description-bulk'),
|
||||||
extraOptionLabel: _('remove-redaction.dialog.content.options.false-positive.extraOptionLabel'),
|
extraOptionLabel: _('remove-redaction.dialog.content.options.false-positive.extraOptionLabel'),
|
||||||
|
extraOptionDescription: _('remove-redaction.dialog.content.options.false-positive.extraOptionDescription'),
|
||||||
},
|
},
|
||||||
DO_NOT_RECOMMEND: {
|
DO_NOT_RECOMMEND: {
|
||||||
label: _('remove-redaction.dialog.content.options.do-not-recommend.label'),
|
label: _('remove-redaction.dialog.content.options.do-not-recommend.label'),
|
||||||
|
|||||||
@ -2057,8 +2057,9 @@
|
|||||||
"label": "Remove from dossier"
|
"label": "Remove from dossier"
|
||||||
},
|
},
|
||||||
"false-positive": {
|
"false-positive": {
|
||||||
"description": "''{value}'' is not a ''{type}'' in this context: ''{context}''.",
|
"description": "Mark this redaction as a false-positive. The term will not be redacted in this dossier if it occurs in the same context.",
|
||||||
"description-bulk": "Do not redact the selected terms in their respective context.",
|
"description-bulk": "Mark these redactions as false-positives. The terms will not be redacted in this dossier if they occur in the same context.",
|
||||||
|
"extraOptionDescription": "",
|
||||||
"extraOptionLabel": "Apply to all active and future dossiers",
|
"extraOptionLabel": "Apply to all active and future dossiers",
|
||||||
"label": "False positive"
|
"label": "False positive"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2059,6 +2059,7 @@
|
|||||||
"false-positive": {
|
"false-positive": {
|
||||||
"description": "Mark this redaction as a false-positive. The term will not be redacted in this dossier if it occurs in the same context.",
|
"description": "Mark this redaction as a false-positive. The term will not be redacted in this dossier if it occurs in the same context.",
|
||||||
"description-bulk": "Mark these redactions as false-positives. The terms will not be redacted in this dossier if they occur in the same context.",
|
"description-bulk": "Mark these redactions as false-positives. The terms will not be redacted in this dossier if they occur in the same context.",
|
||||||
|
"extraOptionDescription": "<i>Dossier template access is required to reverse this action. As a regular user you can only reverse it for the current dossier.</i>",
|
||||||
"extraOptionLabel": "Apply to all active and future dossiers",
|
"extraOptionLabel": "Apply to all active and future dossiers",
|
||||||
"label": "Remove from dossier in this context"
|
"label": "Remove from dossier in this context"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2059,6 +2059,7 @@
|
|||||||
"false-positive": {
|
"false-positive": {
|
||||||
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
|
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
|
||||||
"description-bulk": "",
|
"description-bulk": "",
|
||||||
|
"extraOptionDescription": "",
|
||||||
"extraOptionLabel": "Apply to all dossiers",
|
"extraOptionLabel": "Apply to all dossiers",
|
||||||
"label": "False positive"
|
"label": "False positive"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2059,6 +2059,7 @@
|
|||||||
"false-positive": {
|
"false-positive": {
|
||||||
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
|
"description": "''{value}'' is not a {type} in this context: ''{context}''.",
|
||||||
"description-bulk": "",
|
"description-bulk": "",
|
||||||
|
"extraOptionDescription": "",
|
||||||
"extraOptionLabel": "Apply to all dossiers",
|
"extraOptionLabel": "Apply to all dossiers",
|
||||||
"label": "False positive"
|
"label": "False positive"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 4b8fa5f53342f72a06c492b83db3cb372538491e
|
Subproject commit aea61cbcf6b31260d67cb375140c2e84173dab2e
|
||||||
Loading…
x
Reference in New Issue
Block a user