Template Tags

Tags

ls.joyous.templatetags.joyous_tags.events_this_week(context)[source]

Displays a week’s worth of events. Starts week with Monday, unless today is Sunday.

ls.joyous.templatetags.joyous_tags.minicalendar(context)[source]

Displays a little ajax version of the calendar.

ls.joyous.templatetags.joyous_tags.all_upcoming_events(context)[source]

Displays a list of all upcoming events.

ls.joyous.templatetags.joyous_tags.subsite_upcoming_events(context)[source]

Displays a list of all upcoming events in this site.

ls.joyous.templatetags.joyous_tags.group_upcoming_events(context, group=None)[source]

Displays a list of all upcoming events that are assigned to a specific group. If the group is not specified it is assumed to be the current page.

ls.joyous.templatetags.joyous_tags.future_exceptions(context, rrevent=None)[source]

Displays a list of all the future exceptions (extra info, cancellations and postponements) for a recurring event. If the recurring event is not specified it is assumed to be the current page.

ls.joyous.templatetags.joyous_tags.next_on(context, rrevent=None)[source]

Displays when the next occurence of a recurring event will be. If the recurring event is not specified it is assumed to be the current page.

ls.joyous.templatetags.joyous_tags.location_gmap(context, location)[source]

Display a link to Google maps iff we are using WagtailGMaps

Filters

ls.joyous.templatetags.joyous_tags.time_display(time)[source]

format the time in a readable way

ls.joyous.templatetags.joyous_tags.at_time_display(time)[source]

format as being “at” some time

ls.joyous.templatetags.joyous_tags.date_display(date)[source]

format the date in a readable way