fsi.views.notifcations

Functions

handle_send_email(→ onegov.fsi.request.FsiRequest)

Recipients must be a list of attendee id's or attendees

view_notifications(→ onegov.core.types.RenderData)

view_notification_details(→ onegov.core.types.RenderData)

view_edit_notification(...)

view_email_preview(→ onegov.core.types.RenderData)

handle_send_notification(...)

Module Contents

fsi.views.notifcations.handle_send_email(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest, recipients: collections.abc.Sequence[uuid.UUID] | collections.abc.Sequence[onegov.fsi.models.CourseAttendee], cc_to_sender: bool = True, show_sent_count: bool = True, attachments: collections.abc.Iterable[onegov.core.mail.Attachment | _typeshed.StrPath] | None = None) onegov.fsi.request.FsiRequest[source]

Recipients must be a list of attendee id’s or attendees

fsi.views.notifcations.view_notifications(self: onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection, request: onegov.fsi.request.FsiRequest) onegov.core.types.RenderData[source]
fsi.views.notifcations.view_notification_details(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest) onegov.core.types.RenderData[source]
fsi.views.notifcations.view_edit_notification(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest, form: onegov.fsi.forms.notification.NotificationForm) onegov.core.types.RenderData | webob.Response[source]
fsi.views.notifcations.view_email_preview(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest) onegov.core.types.RenderData[source]
fsi.views.notifcations.handle_send_notification(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest, form: onegov.fsi.forms.notification.NotificationTemplateSendForm) onegov.core.types.RenderData | webob.Response[source]