fsi.layouts.course_event

Classes

CourseEventCollectionLayout

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

CourseEventLayout

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

EditCourseEventLayout

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

AddCourseEventLayout

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

DuplicateCourseEventLayout

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

Module Contents

class fsi.layouts.course_event.CourseEventCollectionLayout(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.collections.course_event.CourseEventCollection[source]
property course: Course | None[source]
property title: str[source]
property 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.

class fsi.layouts.course_event.CourseEventLayout(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.CourseEvent[source]
property title: str[source]
property collection: onegov.fsi.collections.course_event.CourseEventCollection[source]
property course_collection: onegov.fsi.collections.course_event.CourseEventCollection[source]
property reservation_collection: onegov.fsi.collections.subscription.SubscriptionsCollection[source]
property template_collection: onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection[source]
property collection_url: str[source]
property breadcrumbs: list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the detail 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 intercooler_btn: onegov.core.elements.Link[source]
class fsi.layouts.course_event.EditCourseEventLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: CourseEventLayout

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

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the detail page.

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

Bases: CourseEventCollectionLayout

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

property 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.

property breadcrumbs: list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

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

Bases: CourseEventLayout

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

property 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.