Story #102 List event trainer on daily agenda | User and Technical Documentation - cseseniordesign/reservations GitHub Wiki
End User Documentation
Dev Testing Instructions
- Make sure you are on the most recent version of the
dev-trainer-on-agenda
branch.
- Start your dev environment.
- Navigate to the events page
- Create an event for the current date with a trainer.
- Navigate to the admin/agenda page.
- Confirm that the event created appears with the trainer listed as the last element in the table.
Production Testing Instructions
- Go to https://innovationstudio-manager.unl.edu/home/
- Follow steps 3 and up from the dev testing instructions above.
Technical Documentation
routes/admin/agenda.rb
- Created a new hash,
trainers
which contains each trainer_id
and their associated name for every event on the agenda.
- Passed this hash to
agenda.erb
for use on the agenda page.
views/admin/agenda.erb
- Added a column on the events agenda table for
Trainer
- Populated that column by using the
trainers
hash with event.trainer_id