fsi.layouts.notification
¶
Module Contents¶
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. |
- 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.
- class fsi.layouts.notification.NotificationTemplateCollectionLayout(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.
- 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)[source]¶
Bases:
onegov.fsi.layout.DefaultLayout
The default layout meant for the public facing parts of the site.
- collection() onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection [source]¶
- class fsi.layouts.notification.EditNotificationTemplateLayout(model: Any, request: onegov.org.request.OrgRequest)[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)[source]¶
Bases:
NotificationTemplateLayout
The default layout meant for the public facing parts of the site.