openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
261 stars 85 forks source link

💬(frontend) add OrderStateTeacherMessage #2303

Closed rlecellier closed 7 months ago

rlecellier commented 7 months ago

Order state can be display either in the learner dashbaord or the teacher dashbaord. For now, states message are made to be read by a learner. We introduce here a component that give dedicated message for the teacher dashboard.

Messages that's needs to be changed:

{
  statusDraft:  'Draft',
  statusSubmitted:  'Submitted',
  statusPending:  'Pending',
  statusOnGoing:  'On going',
  statusCompleted:  'Completed',
  statusWaitingSignature:  "Learner's signature required",
  statusWaitingCounterSignature:  "Organization 'signature required",
  statusCanceled:  'Canceled',
  statusOther:  '{state}',
}
rlecellier commented 7 months ago

My proposals:

{
statusDraft: 'Pending',
statusSubmitted: 'Pending',
statusPending: 'Pending',
statusOnGoing: 'Enrolled',
statusCompleted: 'Certified',
statusWaitingSignature: "Waiting learner's signature",
statusWaitingCounterSignature: "Waiting signature",
statusCanceled: 'Canceled',
statusOther: '{state}',
}