These are example view specs for brambling's UserDashboardView and InviteAcceptView.
template: brambling/dashboard.html
upcoming_events
: A list of public Events that haven't started yet, ordered by how soon they startupcoming_events_interest
: A list of public Events in the user's interest groups that haven't started yet, ordered by how soon they startadmin_events
: A list of Events that the user can edit, ordered by how recently they were editedregistered_events
: A list of upcoming Events that the user has bought (or started buying) a ticket for, ordered by when the event will startpast_events
: A list of Events that have already started and which the user has bought tickets for, even if that ticket was later refunded, ordered from earliest start date to latest.
Note: This represents the current functionality, not necessarily what it should be. :-p Right now, an event that is happening will disappear from
registered_events
,upcoming_events
, andupcoming_events_interest
the day after it starts. If the user is registered for the event, it will then start showing up inpast_events
. We should probably add anongoing_events
category, or else keep things inupcoming_events
until they end.