RED-8817: added fp extraOption description and increase dialog height.
This commit is contained in:
parent
ffa6634814
commit
5cc81ac706
@ -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'),
|
||||||
|
|||||||
@ -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": "",
|
||||||
"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": "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 292573f3b3766a2e2ffef4be6d6b702d779b259e
|
Subproject commit 48a5160d6fccfe72de2e024e4359a97cbc52c942
|
||||||
Loading…
x
Reference in New Issue
Block a user