fsi.layouts.course_attendee

Classes

CourseAttendeeCollectionLayout

The default layout meant for the public facing parts of the site.

CourseAttendeeLayout

The default layout meant for the public facing parts of the site.

Module Contents

class fsi.layouts.course_attendee.CourseAttendeeCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: onegov.fsi.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

title() str[source]

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

collection() onegov.fsi.collections.attendee.CourseAttendeeCollection[source]
collection_externals() onegov.fsi.collections.attendee.CourseAttendeeCollection[source]
collection_editors() onegov.fsi.collections.attendee.CourseAttendeeCollection[source]
collection_admins() onegov.fsi.collections.attendee.CourseAttendeeCollection[source]
menu() list[tuple[str, str, bool]][source]
class fsi.layouts.course_attendee.CourseAttendeeLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: onegov.fsi.layout.DefaultLayout

The default layout meant for the public facing parts of the site.

model: onegov.fsi.models.CourseAttendee[source]
title() str[source]
collection() onegov.fsi.collections.attendee.CourseAttendeeCollection[source]
breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.

property for_himself: bool[source]