fsi.views.notifcations

Module Contents

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(→ RenderData | Response)

view_email_preview(→ onegov.core.types.RenderData)

handle_send_notification(→ RenderData | Response)

fsi.views.notifcations.handle_send_email(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest, recipients: Sequence[UUID] | Sequence[CourseAttendee], cc_to_sender: bool = True, show_sent_count: bool = True, attachments: Iterable[Attachment | 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) RenderData | 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) RenderData | Response[source]