mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 21:24:23 +08:00
Fix statuses in reports [SCI-11981]
This commit is contained in:
parent
8367bf868e
commit
1a82872bf7
3 changed files with 8 additions and 8 deletions
|
@ -305,11 +305,11 @@ label {
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.started {
|
&.in_progress {
|
||||||
background: $brand-primary;
|
background: var(--sn-alert-bloo);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.completed {
|
&.done {
|
||||||
background: $brand-success;
|
background: $brand-success;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -356,11 +356,11 @@ label {
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.started {
|
&.in_progress {
|
||||||
background: $brand-primary;
|
background: var(--sn-alert-bloo);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.completed {
|
&.done {
|
||||||
background: $brand-success;
|
background: $brand-success;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ module Reports::Docx::DrawExperiment
|
||||||
|
|
||||||
if experiment.due_date.present?
|
if experiment.due_date.present?
|
||||||
@docx.p do
|
@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))
|
due_date: I18n.l(experiment.due_date, format: :full))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1016,7 +1016,7 @@ en:
|
||||||
status:
|
status:
|
||||||
not_started: "Not started"
|
not_started: "Not started"
|
||||||
in_progress: "In progress"
|
in_progress: "In progress"
|
||||||
done: "done"
|
done: "Done"
|
||||||
module_activity:
|
module_activity:
|
||||||
name: "Task activity"
|
name: "Task activity"
|
||||||
sidebar_name: "Activity"
|
sidebar_name: "Activity"
|
||||||
|
|
Loading…
Add table
Reference in a new issue