unikent / programmes-plant

A comprehensive solution for the management of university programmes, that produces an XCRI feed.
Other
7 stars 4 forks source link

Add commit message to send to ems modal #983

Closed sy238-unikent closed 4 years ago

sy238-unikent commented 4 years ago

Adds two fields to programmesrevisions(ug|pg) - material_change and changelog

Adds fields to the modal displayed when user clicks "send to ems" and requires these fields to be filled in.

Then shows them on the inbox page for editors and on the review page.

Testing

  1. php artisan migrate --env=local
  2. set your user as a normal user (not admin)
  3. edit and save a programme
  4. send to ems (don't enter the fields and see it not submitting, then enter the fields and submit)
  5. make your user a superadmin (or maybe just admin?)
  6. go to inbox
  7. see beautiful new fields
  8. click to review or whatever
  9. see more beautiful fields