fsi.layout

Classes

FormatMixin

DefaultLayout

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

Module Contents

class fsi.layout.FormatMixin[source]
request: onegov.fsi.request.FsiRequest[source]
static format_status(model_status: onegov.fsi.models.course_event.EventStatusType) str[source]
static format_notification_type(notification_type: onegov.fsi.models.course_notification_template.NotificationType) str[source]
format_boolean(val: bool) str[source]
class fsi.layout.DefaultLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: onegov.town6.layout.DefaultLayout, FormatMixin

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

app: onegov.fsi.app.FsiApp[source]

Returns the application behind the request.

request: onegov.fsi.request.FsiRequest[source]