feriennet.views.notification_template

Functions

get_variables(→ dict[str, str])

view_notification_templates(→ onegov.core.types.RenderData)

view_notification_template_form(→ RenderData | Response)

edit_notification(→ RenderData | Response)

delete_notification(→ None)

handle_send_notification(→ RenderData | Response)

Module Contents

feriennet.views.notification_template.get_variables(request: onegov.feriennet.request.FeriennetRequest) dict[str, str][source]
feriennet.views.notification_template.view_notification_templates(self: onegov.feriennet.collections.NotificationTemplateCollection, request: onegov.feriennet.request.FeriennetRequest) onegov.core.types.RenderData[source]
feriennet.views.notification_template.view_notification_template_form(self: onegov.feriennet.collections.NotificationTemplateCollection, request: onegov.feriennet.request.FeriennetRequest, form: onegov.feriennet.forms.NotificationTemplateForm) RenderData | Response[source]
feriennet.views.notification_template.edit_notification(self: onegov.feriennet.models.NotificationTemplate, request: onegov.feriennet.request.FeriennetRequest, form: onegov.feriennet.forms.NotificationTemplateForm) RenderData | Response[source]
feriennet.views.notification_template.delete_notification(self: onegov.feriennet.models.NotificationTemplate, request: onegov.feriennet.request.FeriennetRequest) None[source]
feriennet.views.notification_template.handle_send_notification(self: onegov.feriennet.models.NotificationTemplate, request: onegov.feriennet.request.FeriennetRequest, form: onegov.feriennet.forms.NotificationTemplateSendForm) RenderData | Response[source]