CyberCraftInc / vacation_system

Cyber Craft Vacation System
0 stars 0 forks source link

Implement TimeTableByWeek #6

Closed eleidan closed 9 years ago

eleidan commented 9 years ago

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:

  1. Fetch list of members.
  2. Fetch list of vacations.

    This fix ensures that the list of members is fetched and ready before fetching vacations list.

epmlys commented 9 years ago

+1