fsi.views.notifcations ====================== .. py:module:: fsi.views.notifcations Functions --------- .. autoapisummary:: fsi.views.notifcations.handle_send_email fsi.views.notifcations.view_notifications fsi.views.notifcations.view_notification_details fsi.views.notifcations.view_edit_notification fsi.views.notifcations.view_email_preview fsi.views.notifcations.handle_send_notification Module Contents --------------- .. py:function:: 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 Recipients must be a list of attendee id's or attendees .. py:function:: view_notifications(self: onegov.fsi.collections.notification_template.CourseNotificationTemplateCollection, request: onegov.fsi.request.FsiRequest) -> onegov.core.types.RenderData .. py:function:: view_notification_details(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest) -> onegov.core.types.RenderData .. py:function:: 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 .. py:function:: view_email_preview(self: onegov.fsi.models.course_notification_template.CourseNotificationTemplate, request: onegov.fsi.request.FsiRequest) -> onegov.core.types.RenderData .. py:function:: 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