fsi.layouts.course_event

Module Contents

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.

class fsi.layouts.course_event.CourseEventCollectionLayout(model: Any, request: onegov.org.request.OrgRequest)[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]
course() Course | None[source]
title() str[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.

class fsi.layouts.course_event.CourseEventLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.fsi.layout.DefaultLayout

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

property title: str[source]
model: onegov.fsi.models.CourseEvent[source]
collection() onegov.fsi.collections.course_event.CourseEventCollection[source]
course_collection() onegov.fsi.collections.course_event.CourseEventCollection[source]
reservation_collection() onegov.fsi.collections.subscription.SubscriptionsCollection[source]
template_collection() onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection[source]
collection_url() str[source]
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.

intercooler_btn() onegov.core.elements.Link[source]
class fsi.layouts.course_event.EditCourseEventLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: CourseEventLayout

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

property title: str[source]
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)[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.

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)[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.