org.views.settings

The settings view, defining things like the logo or color of the org.

Classes

ApiKeyWithDeleteLink

Functions

view_settings(→ onegov.core.types.RenderData)

handle_generic_settings(→ RenderData | Response)

handle_general_settings(→ RenderData | Response)

handle_homepage_settings(→ RenderData | Response)

handle_favicon_settings(→ RenderData | Response)

handle_social_media_settings(→ RenderData | Response)

handle_links_settings(→ RenderData | Response)

handle_newsletter_settings(→ RenderData | Response)

handle_ticket_settings(→ RenderData | Response)

handle_header_settings(→ RenderData | Response)

handle_footer_settings(→ RenderData | Response)

handle_module_settings(→ RenderData | Response)

handle_map_settings(→ RenderData | Response)

handle_analytics_settings(→ RenderData | Response)

handle_gever_settings(→ RenderData | Response)

handle_holiday_settings(→ RenderData | Response)

preview_holiday_settings(→ str)

handle_migrate_links(→ RenderData | Response)

handle_link_health_check(→ onegov.core.types.RenderData)

handle_event_settings(→ RenderData | Response)

handle_api_keys(→ onegov.core.types.RenderData)

Handles the generation of API access keys.

delete_api_key(→ None)

handle_ticket_data_deletion_settings(...)

handle_chat_settings(→ RenderData | Response)

Module Contents

Bases: onegov.api.models.ApiKey

org.views.settings.view_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.SettingsLayout | None = None) onegov.core.types.RenderData[source]
org.views.settings.handle_generic_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.form.Form, title: str, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_general_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.GeneralSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_homepage_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.HomepageSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_favicon_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.FaviconSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_social_media_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.SocialMediaSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_newsletter_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.NewsletterSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_ticket_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.OrgTicketSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_header_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_module_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.ModuleSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_map_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.MapSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_analytics_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.AnalyticsSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_gever_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.GeverSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_holiday_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.HolidaySettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.preview_holiday_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.HolidaySettingsForm, layout: onegov.org.layout.DefaultLayout | None = None) str[source]
org.views.settings.handle_event_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.EventSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]
org.views.settings.handle_api_keys(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.OneGovApiSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) onegov.core.types.RenderData[source]

Handles the generation of API access keys.

org.views.settings.delete_api_key(self: onegov.api.models.ApiKey, request: onegov.org.request.OrgRequest) None[source]
org.views.settings.handle_ticket_data_deletion_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.DataRetentionPolicyForm) RenderData | Response[source]
org.views.settings.handle_chat_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.SettingsLayout | None = None) RenderData | Response[source]