etskelly/holiday_machine — pull request #42 by damian (2011-11-30 09:55:29+00:00)
Title: Ensure that Bank holidays aren't clickable

Closes #40

When clicking on a bank holiday entry on the calendar page, the client
side redirect was throwing an error as it was trying to do a find on a
vacation rather than on an instance of bank holiday.

Added a check in the clientside to determine the type of calendar entry
and take the appropriate action - in this case redirect to the holiday
request or nothing if it's a bank holiday entry.