The main idea is to use day-like view without weekends.
Vacation type is marked with its particular color.
Vacation with the 'requested' status is marked with linear gradient.
Integrate Moment.js and moment-range
Add getWeekRange() helper
Update HTML layout for master page
Fix collections fetch logic:
The drawEmptyTable() method inside renderVacationsTable() method
relays on a list of team members.
So there must be the following synchronous fetching order:
Fetch list of members.
Fetch list of vacations.
This fix ensures that the list of members is fetched and ready
before fetching vacations list.
The main idea is to use day-like view without weekends. Vacation type is marked with its particular color. Vacation with the 'requested' status is marked with linear gradient.
Integrate Moment.js and moment-range
Add
getWeekRange()
helperUpdate HTML layout for master page
Fix collections fetch logic:
The
drawEmptyTable()
method insiderenderVacationsTable()
method relays on a list of team members.So there must be the following synchronous fetching order:
Fetch list of vacations.
This fix ensures that the list of members is fetched and ready before fetching vacations list.