org.views.settings ================== .. py:module:: org.views.settings .. autoapi-nested-parse:: The settings view, defining things like the logo or color of the org. Classes ------- .. autoapisummary:: org.views.settings.ApiKeyWithDeleteLink Functions --------- .. autoapisummary:: org.views.settings.view_settings org.views.settings.handle_generic_settings org.views.settings.handle_general_settings org.views.settings.handle_homepage_settings org.views.settings.handle_favicon_settings org.views.settings.handle_social_media_settings org.views.settings.handle_links_settings org.views.settings.handle_newsletter_settings org.views.settings.handle_ticket_settings org.views.settings.handle_header_settings org.views.settings.handle_footer_settings org.views.settings.handle_module_settings org.views.settings.handle_map_settings org.views.settings.handle_analytics_settings org.views.settings.handle_gever_settings org.views.settings.handle_holiday_settings org.views.settings.preview_holiday_settings org.views.settings.handle_migrate_links org.views.settings.handle_link_health_check org.views.settings.handle_event_settings org.views.settings.handle_api_keys org.views.settings.delete_api_key org.views.settings.handle_ticket_data_deletion_settings org.views.settings.handle_vat_settings org.views.settings.handle_chat_settings org.views.settings.handle_people_settings Module Contents --------------- .. py:class:: ApiKeyWithDeleteLink Bases: :py:obj:`onegov.api.models.ApiKey` .. py:attribute:: delete_link :type: onegov.core.elements.Link .. py:function:: view_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData .. py:function:: 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, subtitle: str | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_links_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.LinksSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_header_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_footer_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.FooterSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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 .. py:function:: handle_migrate_links(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.LinkMigrationForm, layout: onegov.org.layout.DefaultLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_link_health_check(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.LinkHealthCheckForm, layout: onegov.org.layout.DefaultLayout | None = None) -> onegov.core.types.RenderData .. py:function:: 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) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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 Handles the generation of API access keys. .. py:function:: delete_api_key(self: onegov.api.models.ApiKey, request: onegov.org.request.OrgRequest) -> None .. py:function:: handle_ticket_data_deletion_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.DataRetentionPolicyForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_vat_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.VATSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_chat_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.form.Form, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_people_settings(self: onegov.org.models.Organisation, request: onegov.org.request.OrgRequest, form: onegov.org.forms.settings.PeopleSettingsForm, layout: onegov.org.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response