fsi.layouts.notification
Classes
Layout for emails expecting the model to be a subscription object. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
|
The default layout meant for the public facing parts of the site. |
Module Contents
- class fsi.layouts.notification.MailLayout(model: Any, request: onegov.core.request.CoreRequest)[source]
Bases:
onegov.org.layout.DefaultMailLayout
,onegov.fsi.layout.FormatMixin
Layout for emails expecting the model to be a subscription object. Takes in a notification template linked to a course_event.
- property base: chameleon.PageTemplateFile[source]
Returns the layout, which defines the base layout of all pages.
See
templates/layout.pt
.
- class fsi.layouts.notification.NotificationTemplateCollectionLayout(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.
- property breadcrumbs: list[onegov.core.elements.Link][source]
Returns the breadcrumbs for the current page.
- accordion_items() tuple[AccordionItem, Ellipsis] [source]
- class fsi.layouts.notification.NotificationTemplateLayout(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.
- property collection: onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection[source]
- class fsi.layouts.notification.EditNotificationTemplateLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
NotificationTemplateLayout
The default layout meant for the public facing parts of the site.
- class fsi.layouts.notification.SendNotificationTemplateLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]
Bases:
NotificationTemplateLayout
The default layout meant for the public facing parts of the site.