Fix statuses in reports [SCI-11981]

This commit is contained in:
Anton 2025-06-06 14:19:20 +02:00
parent 8367bf868e
commit 1a82872bf7
3 changed files with 8 additions and 8 deletions

View file

@ -305,11 +305,11 @@ label {
color: $color-black;
}
&.started {
background: $brand-primary;
&.in_progress {
background: var(--sn-alert-bloo);
}
&.completed {
&.done {
background: $brand-success;
}
}
@ -356,11 +356,11 @@ label {
color: $color-black;
}
&.started {
background: $brand-primary;
&.in_progress {
background: var(--sn-alert-bloo);
}
&.completed {
&.done {
background: $brand-success;
}
}

View file

@ -37,7 +37,7 @@ module Reports::Docx::DrawExperiment
if experiment.due_date.present?
@docx.p do
text I18n.t('projects.reports.elements.experiment_header.due_date',
text I18n.t('projects.reports.elements.experiment.due_date',
due_date: I18n.l(experiment.due_date, format: :full))
end
end

View file

@ -1016,7 +1016,7 @@ en:
status:
not_started: "Not started"
in_progress: "In progress"
done: "done"
done: "Done"
module_activity:
name: "Task activity"
sidebar_name: "Activity"