fnitu / edu-hospice

Application developed for SIIT Challenge Accepted – CODVIDHACK 2020
https://edu-hospice.herokuapp.com
2 stars 2 forks source link

Display registration status in the course popup if course was clicked from the user pending courses tab #88

Closed Adrian-Moldovan closed 2 years ago

Adrian-Moldovan commented 2 years ago

Log in as a user; go to pending courses tab, click on a pending course. Right now, the popup displays a "registration" button, even if the user is already registered.

We should change the button with a registration status label and the pending explanations.

The backend should provide a JSON property describing the registration status as follows:

Same thing applies for the rejected courses tab.

Related backend issue: https://github.com/danutchindris/edu-hospice-api/issues/216

Adrian-Moldovan commented 2 years ago

Implemented