diff --git a/frontend/src/components/taskSelection/actionSidebars.js b/frontend/src/components/taskSelection/actionSidebars.js index 63b36819f0..176b6e2a70 100644 --- a/frontend/src/components/taskSelection/actionSidebars.js +++ b/frontend/src/components/taskSelection/actionSidebars.js @@ -473,23 +473,23 @@ export function CompletionTabForValidation({

-

+ {/*

-

+

*/} {tasksIds.length > 3 && (
-
+
-
+
{['VALIDATED', 'INVALIDATED'].map((value, index) => ( -
+
status === value) && Object.values(validationStatus).length === tasksIds.length @@ -500,11 +500,11 @@ export function CompletionTabForValidation({ setValidationStatus(tempObj); }} /> -
@@ -604,34 +604,38 @@ const TaskValidationSelector = ({ return (
-
#{id}
-
- updateStatus(id, 'VALIDATED')} - /> - - updateStatus(id, 'INVALIDATED')} - /> - +
#{id}
+
+
+ updateStatus(id, 'VALIDATED')} + /> + +
+
+ updateStatus(id, 'INVALIDATED')} + /> + +
setShowCommentInput(!showCommentInput)} icon={ comment ? ( diff --git a/frontend/src/components/taskSelection/messages.js b/frontend/src/components/taskSelection/messages.js index 594dcd3637..5582d59420 100644 --- a/frontend/src/components/taskSelection/messages.js +++ b/frontend/src/components/taskSelection/messages.js @@ -584,10 +584,19 @@ export default defineMessages({ id: 'project.tasks.action.options.complete', defaultMessage: 'Yes', }, + validMapping: { + id: 'project.tasks.action.options.valid_mapping', + defaultMessage: 'Task well mapped, thanks for mapping', + }, incomplete: { id: 'project.tasks.action.options.incomplete', defaultMessage: 'No', }, + invalidMapping: { + id: 'project.tasks.action.options.invalid_mapping', + defaultMessage: + 'More work is required to complete this task. Please carefully read the comment section for further information.', + }, badImagery: { id: 'project.tasks.action.options.bad_imagery', defaultMessage: 'The imagery is bad',