Event shift variables
| Variable | Description |
|---|---|
| display_time | Time of shift e.g. 1pm-4pm |
| display_date | Date of shift e.g. April 24 |
| start_at_date | Start date of shift (not formatted for display) e.g. {{ shift.start_at | date: '%m %d %Y' }} |
| start_at | Start time of shift (not formatted for display) e.g. {{ shift.start_at | date: '%I:%M %p' }} |
| end_at_date | End date of shift |
| end_at | Ending date & time of shift (not formatted) |
| rsvps_count | Number of people who have RSVP'ed for that shift e.g. {% if shift.rsvps_count > 14 %}This shift is full{% endif %} |
| rsvps_count_with_goal | |
| percent_of_goal | Perecentage of rsvps for that shift towards the goal for that shift e.g. 40% |
| attendees_count | How many people RSVPed for that shift and were marked as attendees e.g. 9 |
| has_goal? | Does the shift have a goal set in the shift settings? e.g. {% if shift.has_goal? %} {{ shift.percent_of_goal }} full {% endif %} |