wagtail 6.2.2__py3-none-any.whl → 6.3rc1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wagtail/__init__.py +1 -1
- wagtail/actions/copy_for_translation.py +6 -0
- wagtail/actions/publish_revision.py +3 -3
- wagtail/admin/action_menu.py +5 -3
- wagtail/admin/forms/account.py +1 -1
- wagtail/admin/icons.py +2 -6
- wagtail/admin/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cy/LC_MESSAGES/django.po +32 -0
- wagtail/admin/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/dv/LC_MESSAGES/django.po +28 -0
- wagtail/admin/locale/en/LC_MESSAGES/django.po +451 -485
- wagtail/admin/locale/en/LC_MESSAGES/djangojs.po +7 -7
- wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/django.po +150 -0
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.po +9 -2
- wagtail/admin/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ug/LC_MESSAGES/django.po +3250 -196
- wagtail/admin/localization.py +8 -2
- wagtail/admin/panels/model_utils.py +1 -1
- wagtail/admin/site_summary.py +0 -2
- wagtail/admin/static/wagtailadmin/css/core.css +1 -1
- wagtail/admin/static/wagtailadmin/css/panels/draftail.css +1 -1
- wagtail/admin/static/wagtailadmin/images/email-header.jpg +0 -0
- wagtail/admin/static/wagtailadmin/js/bulk-actions.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js.LICENSE.txt +12 -0
- wagtail/admin/static/wagtailadmin/js/draftail.js +1 -1
- wagtail/admin/static/wagtailadmin/js/sidebar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/telepath.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js.LICENSE.txt +1 -1
- wagtail/admin/static/wagtailadmin/js/vendor.js +1 -1
- wagtail/admin/static/wagtailadmin/js/wagtailadmin.js +1 -1
- wagtail/admin/static/wagtailadmin/js/workflow-action.js +1 -1
- wagtail/admin/staticfiles.py +6 -4
- wagtail/admin/templates/wagtailadmin/account/account.html +42 -59
- wagtail/admin/templates/wagtailadmin/admin_base.html +0 -28
- wagtail/admin/templates/wagtailadmin/bulk_actions/footer.html +1 -1
- wagtail/admin/templates/wagtailadmin/chooser/_search_results.html +7 -5
- wagtail/admin/templates/wagtailadmin/chooser/tables/page_navigate_to_children_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/generic/chooser/results.html +7 -5
- wagtail/admin/templates/wagtailadmin/generic/edit.html +0 -8
- wagtail/admin/templates/wagtailadmin/generic/form.html +60 -17
- wagtail/admin/templates/wagtailadmin/generic/index.html +17 -0
- wagtail/admin/templates/wagtailadmin/generic/index_results.html +9 -35
- wagtail/admin/templates/wagtailadmin/generic/inspect.html +2 -21
- wagtail/admin/templates/wagtailadmin/generic/listing.html +11 -17
- wagtail/admin/templates/wagtailadmin/generic/listing_results.html +19 -1
- wagtail/admin/templates/wagtailadmin/home/account_summary.html +26 -0
- wagtail/admin/templates/wagtailadmin/home/locked_pages.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/recent_edits.html +28 -17
- wagtail/admin/templates/wagtailadmin/home/site_summary_pages.html +2 -2
- wagtail/admin/templates/wagtailadmin/home/upgrade_notification.html +35 -13
- wagtail/admin/templates/wagtailadmin/home/user_objects_in_workflow_moderation.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/workflow_objects_to_moderate.html +43 -32
- wagtail/admin/templates/wagtailadmin/home.html +22 -5
- wagtail/admin/templates/wagtailadmin/pages/_editor_js.html +0 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu.html +1 -11
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu_item.html +1 -6
- wagtail/admin/templates/wagtailadmin/pages/action_menu/page_locked.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/publish.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/save_draft.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_delete.html +12 -6
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_move.html +12 -7
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_publish.html +17 -11
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_unpublish.html +15 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_delete.html +9 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_move.html +2 -2
- wagtail/admin/templates/wagtailadmin/pages/confirm_unpublish.html +4 -4
- wagtail/admin/templates/wagtailadmin/pages/create.html +15 -34
- wagtail/admin/templates/wagtailadmin/pages/edit.html +15 -30
- wagtail/admin/templates/wagtailadmin/pages/explorable_index.html +6 -0
- wagtail/admin/templates/wagtailadmin/pages/explorable_index_results.html +60 -0
- wagtail/admin/templates/wagtailadmin/pages/index.html +1 -36
- wagtail/admin/templates/wagtailadmin/pages/index_results.html +2 -50
- wagtail/admin/templates/wagtailadmin/pages/listing/_locked_indicator.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_ordering_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_header_buttons.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_title_column_header.html +3 -3
- wagtail/admin/templates/wagtailadmin/pages/listing/_pagination.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing.html +24 -0
- wagtail/admin/templates/wagtailadmin/pages/search.html +1 -20
- wagtail/admin/templates/wagtailadmin/pages/search_results.html +27 -25
- wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html +0 -1
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_report.html +2 -2
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_types_usage.html +6 -6
- wagtail/admin/templates/wagtailadmin/reports/workflow_tasks_results.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu.html +14 -0
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu_item.html +6 -0
- wagtail/admin/templates/wagtailadmin/shared/avatar.html +13 -3
- wagtail/admin/templates/wagtailadmin/shared/header.html +0 -5
- wagtail/admin/templates/wagtailadmin/shared/headers/slim_header.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/page_status_tag_new.html +4 -1
- wagtail/admin/templates/wagtailadmin/shared/pagination_nav.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panel_toggle.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/locale.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/usage.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/side_panels/preview.html +94 -52
- wagtail/admin/templates/wagtailadmin/{pages/_unsaved_changes_warning.html → shared/unsaved_changes_warning.html} +4 -4
- wagtail/admin/templates/wagtailadmin/shared/usage_summary.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/detail.html +1 -7
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/listing.html +1 -0
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/{list.html → listing_results.html} +33 -35
- wagtail/admin/templates/wagtailadmin/tables/references_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/workflows/create.html +11 -36
- wagtail/admin/templates/wagtailadmin/workflows/create_task.html +0 -38
- wagtail/admin/templates/wagtailadmin/workflows/edit.html +44 -74
- wagtail/admin/templates/wagtailadmin/workflows/edit_task.html +27 -66
- wagtail/admin/templates/wagtailadmin/workflows/includes/task_usage_cell.html +4 -2
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_tasks_cell.html +4 -4
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_used_by_cell.html +15 -11
- wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/results.html +7 -5
- wagtail/admin/templatetags/wagtailadmin_tags.py +51 -22
- wagtail/admin/tests/pages/test_content_type_use_view.py +82 -2
- wagtail/admin/tests/pages/test_edit_page.py +70 -0
- wagtail/admin/tests/pages/test_explorer_view.py +65 -4
- wagtail/admin/tests/pages/test_page_search.py +8 -7
- wagtail/admin/tests/pages/test_page_usage.py +3 -1
- wagtail/admin/tests/pages/test_preview.py +208 -63
- wagtail/admin/tests/pages/test_reorder_page.py +91 -1
- wagtail/admin/tests/pages/test_view_draft.py +32 -1
- wagtail/admin/tests/pages/test_workflow_history.py +288 -7
- wagtail/admin/tests/test_account_management.py +23 -3
- wagtail/admin/tests/test_audit_log.py +24 -2
- wagtail/admin/tests/test_collections_views.py +17 -5
- wagtail/admin/tests/test_dashboard.py +1 -1
- wagtail/admin/tests/test_edit_handlers.py +3 -2
- wagtail/admin/tests/test_icon_sprite.py +4 -0
- wagtail/admin/tests/test_privacy.py +5 -19
- wagtail/admin/tests/test_reports_views.py +1 -1
- wagtail/admin/tests/test_site_summary.py +3 -3
- wagtail/admin/tests/test_templatetags.py +27 -3
- wagtail/admin/tests/test_upgrade_notification.py +71 -18
- wagtail/admin/tests/test_views.py +2 -2
- wagtail/admin/tests/test_views_generic.py +13 -0
- wagtail/admin/tests/test_widgets.py +3 -3
- wagtail/admin/tests/test_workflows.py +172 -27
- wagtail/admin/tests/tests.py +1 -1
- wagtail/admin/tests/viewsets/test_model_viewset.py +55 -3
- wagtail/admin/ui/side_panels.py +19 -0
- wagtail/admin/ui/sidebar.py +4 -3
- wagtail/admin/ui/tables/__init__.py +14 -1
- wagtail/admin/ui/tables/pages.py +6 -1
- wagtail/admin/urls/pages.py +10 -1
- wagtail/admin/urls/workflows.py +6 -1
- wagtail/admin/views/account.py +5 -1
- wagtail/admin/views/collections.py +0 -2
- wagtail/admin/views/generic/base.py +118 -1
- wagtail/admin/views/generic/history.py +158 -26
- wagtail/admin/views/generic/models.py +113 -99
- wagtail/admin/views/home.py +24 -9
- wagtail/admin/views/page_privacy.py +54 -30
- wagtail/admin/views/pages/history.py +11 -4
- wagtail/admin/views/pages/listing.py +76 -89
- wagtail/admin/views/pages/preview.py +1 -1
- wagtail/admin/views/pages/search.py +27 -71
- wagtail/admin/views/pages/usage.py +63 -24
- wagtail/admin/views/pages/utils.py +4 -3
- wagtail/admin/views/reports/base.py +0 -6
- wagtail/admin/views/workflows.py +67 -25
- wagtail/admin/viewsets/model.py +4 -3
- wagtail/admin/widgets/chooser.py +2 -1
- wagtail/api/v2/tests/test_pages.py +15 -2
- wagtail/blocks/field_block.py +15 -3
- wagtail/blocks/static_block.py +3 -0
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.po +29 -1
- wagtail/contrib/forms/locale/en/LC_MESSAGES/django.po +15 -11
- wagtail/contrib/forms/templates/wagtailforms/confirm_delete.html +1 -0
- wagtail/contrib/forms/templates/wagtailforms/index.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/index_results.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/list_submissions.html +2 -1
- wagtail/contrib/forms/templates/wagtailforms/panels/form_responses_panel.html +2 -2
- wagtail/contrib/forms/tests/test_views.py +234 -35
- wagtail/contrib/forms/utils.py +8 -14
- wagtail/contrib/forms/views.py +72 -27
- wagtail/contrib/frontend_cache/backends/azure.py +1 -1
- wagtail/contrib/frontend_cache/backends/cloudfront.py +2 -2
- wagtail/contrib/frontend_cache/backends/dummy.py +11 -0
- wagtail/contrib/frontend_cache/tests.py +31 -37
- wagtail/contrib/frontend_cache/utils.py +12 -5
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.po +16 -1
- wagtail/contrib/redirects/locale/en/LC_MESSAGES/django.po +20 -24
- wagtail/contrib/redirects/models.py +16 -1
- wagtail/contrib/redirects/signal_handlers.py +18 -3
- wagtail/contrib/redirects/templates/wagtailredirects/add.html +5 -16
- wagtail/contrib/redirects/templates/wagtailredirects/import_summary.html +1 -1
- wagtail/contrib/redirects/tests/test_redirects.py +49 -6
- wagtail/contrib/redirects/tests/test_signal_handlers.py +42 -1
- wagtail/contrib/redirects/views.py +27 -3
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.po +60 -1
- wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po +12 -18
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/add.html +5 -8
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/edit.html +15 -10
- wagtail/contrib/search_promotions/tests.py +13 -2
- wagtail/contrib/search_promotions/views.py +15 -3
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.po +6 -1
- wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +2 -10
- wagtail/contrib/settings/templates/wagtailsettings/edit.html +12 -45
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.po +13 -1
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.po +3 -0
- wagtail/contrib/simple_translation/locale/en/LC_MESSAGES/django.po +4 -4
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.po +5 -2
- wagtail/contrib/simple_translation/tests/test_views.py +51 -0
- wagtail/contrib/simple_translation/wagtail_hooks.py +16 -11
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.po +5 -1
- wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.po +27 -1
- wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/blocks.py +25 -0
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.po +12 -1
- wagtail/contrib/typed_table_block/locale/en/LC_MESSAGES/django.po +10 -10
- wagtail/contrib/typed_table_block/tests.py +24 -1
- wagtail/coreutils.py +5 -11
- wagtail/documents/admin_urls.py +2 -2
- wagtail/documents/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/cy/LC_MESSAGES/django.po +10 -0
- wagtail/documents/locale/en/LC_MESSAGES/django.po +61 -76
- wagtail/documents/migrations/0014_alter_document_file_size.py +18 -0
- wagtail/documents/models.py +1 -1
- wagtail/documents/rich_text/__init__.py +1 -3
- wagtail/documents/static/wagtaildocs/js/add-multiple.js +1 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/documents/templates/wagtaildocs/documents/add.html +13 -41
- wagtail/documents/templates/wagtaildocs/documents/edit.html +28 -56
- wagtail/documents/templates/wagtaildocs/documents/index.html +1 -4
- wagtail/documents/templates/wagtaildocs/homepage/site_summary_documents.html +2 -2
- wagtail/documents/templates/wagtaildocs/multiple/add.html +36 -41
- wagtail/documents/tests/test_admin_views.py +64 -6
- wagtail/documents/tests/test_site_summary.py +3 -3
- wagtail/documents/views/documents.py +103 -113
- wagtail/documents/views/multiple.py +19 -1
- wagtail/embeds/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/oembed_providers.py +9 -19
- wagtail/fields.py +43 -27
- wagtail/images/admin_urls.py +2 -2
- wagtail/images/blocks.py +230 -2
- wagtail/images/fields.py +17 -29
- wagtail/images/image_operations.py +1 -1
- wagtail/images/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/cy/LC_MESSAGES/django.po +128 -1
- wagtail/images/locale/en/LC_MESSAGES/django.po +119 -129
- wagtail/images/migrations/0025_alter_image_file_alter_rendition_file.py +36 -43
- wagtail/images/migrations/0027_image_description.py +20 -0
- wagtail/images/models.py +120 -45
- wagtail/images/rich_text/__init__.py +1 -3
- wagtail/images/static/wagtailimages/js/add-multiple.js +1 -1
- wagtail/images/static/wagtailimages/js/image-block.js +1 -0
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/images/templates/wagtailimages/chooser/results.html +2 -2
- wagtail/images/templates/wagtailimages/homepage/site_summary_images.html +2 -2
- wagtail/images/templates/wagtailimages/images/_file_field.html +2 -2
- wagtail/images/templates/wagtailimages/images/add.html +13 -31
- wagtail/images/templates/wagtailimages/images/edit.html +53 -82
- wagtail/images/templates/wagtailimages/images/index.html +1 -4
- wagtail/images/templates/wagtailimages/images/url_generator.html +1 -1
- wagtail/images/templates/wagtailimages/multiple/add.html +40 -47
- wagtail/images/templates/wagtailimages/widgets/image.html +5 -0
- wagtail/images/templates/wagtailimages/widgets/image_chooser.html +1 -1
- wagtail/images/tests/test_admin_views.py +70 -10
- wagtail/images/tests/test_blocks.py +367 -1
- wagtail/images/tests/test_image_operations.py +23 -0
- wagtail/images/tests/test_models.py +20 -0
- wagtail/images/tests/test_signal_handlers.py +99 -95
- wagtail/images/tests/test_site_summary.py +3 -3
- wagtail/images/tests/test_templatetags.py +11 -7
- wagtail/images/tests/tests.py +4 -0
- wagtail/images/views/images.py +103 -104
- wagtail/images/views/multiple.py +17 -1
- wagtail/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/cy/LC_MESSAGES/django.po +3 -0
- wagtail/locale/en/LC_MESSAGES/django.po +137 -125
- wagtail/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sl/LC_MESSAGES/django.po +3 -0
- wagtail/locales/locale/en/LC_MESSAGES/django.po +8 -8
- wagtail/locales/views.py +4 -1
- wagtail/migrations/0089_log_entry_data_json_null_to_object.py +1 -7
- wagtail/models/__init__.py +122 -14
- wagtail/models/audit_log.py +1 -3
- wagtail/models/i18n.py +1 -2
- wagtail/project_template/Dockerfile +3 -3
- wagtail/project_template/requirements.txt +2 -2
- wagtail/query.py +17 -4
- wagtail/rich_text/__init__.py +2 -3
- wagtail/rich_text/pages.py +2 -4
- wagtail/rich_text/rewriters.py +2 -2
- wagtail/search/backends/database/mysql/query.py +3 -3
- wagtail/search/backends/database/sqlite/query.py +6 -6
- wagtail/search/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/en/LC_MESSAGES/django.po +6 -6
- wagtail/sites/views.py +0 -1
- wagtail/snippets/action_menu.py +14 -4
- wagtail/snippets/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/cy/LC_MESSAGES/django.po +73 -1
- wagtail/snippets/locale/en/LC_MESSAGES/django.po +27 -33
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser-telepath.js +1 -1
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser.js +1 -1
- wagtail/snippets/templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html +5 -3
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/locked.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu.html +1 -11
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu_item.html +1 -6
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/publish.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/save.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/create.html +1 -18
- wagtail/snippets/templates/wagtailsnippets/snippets/edit.html +1 -14
- wagtail/snippets/templates/wagtailsnippets/snippets/index.html +2 -5
- wagtail/snippets/tests/test_preview.py +193 -61
- wagtail/snippets/tests/test_snippets.py +247 -38
- wagtail/snippets/tests/test_usage.py +5 -0
- wagtail/snippets/tests/test_viewset.py +25 -9
- wagtail/snippets/tests/test_workflows.py +232 -19
- wagtail/snippets/views/snippets.py +1 -10
- wagtail/test/numberformat.py +104 -0
- wagtail/test/settings.py +10 -0
- wagtail/test/settings_ui.py +2 -0
- wagtail/test/testapp/migrations/0010_alter_customimage_file_and_more.py +71 -78
- wagtail/test/testapp/migrations/0040_nocreatablesubpagetypespage_nosubpagetypespage.py +54 -0
- wagtail/test/testapp/migrations/0041_alter_jsonstreammodel_options.py +17 -0
- wagtail/test/testapp/migrations/0042_alter_customdocument_file_size_and_more.py +28 -0
- wagtail/test/testapp/migrations/0043_customimage_description.py +41 -0
- wagtail/test/testapp/migrations/0044_custompreviewsizesmodel_custompreviewsizespage.py +52 -0
- wagtail/test/testapp/migrations/0045_alter_streampage_body.py +52 -0
- wagtail/test/testapp/models.py +62 -4
- wagtail/test/testapp/rich_text.py +2 -2
- wagtail/test/testapp/templates/tests/form_page_landing.html +2 -1
- wagtail/test/testapp/urls.py +5 -0
- wagtail/test/testapp/views.py +5 -0
- wagtail/test/utils/page_tests.py +5 -5
- wagtail/test/utils/template_tests.py +2 -2
- wagtail/tests/test_blocks.py +15 -0
- wagtail/tests/test_page_permissions.py +109 -0
- wagtail/tests/test_revision_model.py +27 -0
- wagtail/tests/test_signals.py +21 -2
- wagtail/tests/test_tests.py +30 -0
- wagtail/users/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/cy/LC_MESSAGES/django.po +118 -1
- wagtail/users/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/dv/LC_MESSAGES/django.po +3 -0
- wagtail/users/locale/en/LC_MESSAGES/django.po +89 -113
- wagtail/users/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sl/LC_MESSAGES/django.po +3 -0
- wagtail/users/migrations/0014_userprofile_contrast.py +23 -0
- wagtail/users/models.py +11 -0
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_delete.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html +5 -1
- wagtail/users/templates/wagtailusers/groups/create.html +19 -17
- wagtail/users/templates/wagtailusers/groups/edit.html +2 -40
- wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html +1 -62
- wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html +0 -1
- wagtail/users/templates/wagtailusers/users/create.html +46 -50
- wagtail/users/templates/wagtailusers/users/edit.html +45 -62
- wagtail/users/templates/wagtailusers/users/index.html +1 -4
- wagtail/users/templatetags/wagtailusers_tags.py +1 -5
- wagtail/users/tests/test_admin_views.py +85 -66
- wagtail/users/views/groups.py +4 -1
- wagtail/users/views/users.py +2 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/METADATA +6 -6
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/RECORD +378 -367
- wagtail/admin/static/wagtailadmin/js/preview-panel.js +0 -2
- wagtail/admin/static/wagtailadmin/js/preview-panel.js.LICENSE.txt +0 -11
- wagtail/admin/templates/wagtailadmin/generic/history_results.html +0 -1
- wagtail/admin/templates/wagtailadmin/page_privacy/ancestor_privacy.html +0 -3
- wagtail/admin/templates/wagtailadmin/pages/usage_results.html +0 -6
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/index.html +0 -17
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/results.html +0 -17
- wagtail/admin/templates/wagtailadmin/workflows/usage.html +0 -44
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/LICENSE +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/WHEEL +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/entry_points.txt +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc1.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2024-
|
|
11
|
+
"POT-Creation-Date: 2024-10-21 17:53+0100\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -66,7 +66,7 @@ msgstr ""
|
|
|
66
66
|
msgid "Enter the same password as above, for verification."
|
|
67
67
|
msgstr ""
|
|
68
68
|
|
|
69
|
-
#: forms.py:110 forms.py:247 views/users.py:
|
|
69
|
+
#: forms.py:110 forms.py:247 views/users.py:110
|
|
70
70
|
msgid "Administrator"
|
|
71
71
|
msgstr ""
|
|
72
72
|
|
|
@@ -136,7 +136,7 @@ msgstr ""
|
|
|
136
136
|
msgid "profile picture"
|
|
137
137
|
msgstr ""
|
|
138
138
|
|
|
139
|
-
#: models.py:76
|
|
139
|
+
#: models.py:76 models.py:88
|
|
140
140
|
msgid "System default"
|
|
141
141
|
msgstr ""
|
|
142
142
|
|
|
@@ -152,117 +152,125 @@ msgstr ""
|
|
|
152
152
|
msgid "admin theme"
|
|
153
153
|
msgstr ""
|
|
154
154
|
|
|
155
|
-
#: models.py:
|
|
155
|
+
#: models.py:89
|
|
156
|
+
msgid "More contrast"
|
|
157
|
+
msgstr ""
|
|
158
|
+
|
|
159
|
+
#: models.py:92
|
|
160
|
+
msgid "contrast"
|
|
161
|
+
msgstr ""
|
|
162
|
+
|
|
163
|
+
#: models.py:99
|
|
156
164
|
msgid "Default"
|
|
157
165
|
msgstr ""
|
|
158
166
|
|
|
159
|
-
#: models.py:
|
|
167
|
+
#: models.py:100
|
|
160
168
|
msgid "Snug"
|
|
161
169
|
msgstr ""
|
|
162
170
|
|
|
163
171
|
#. Translators: "Density" is the term used to describe the amount of space between elements in the user interface
|
|
164
|
-
#: models.py:
|
|
172
|
+
#: models.py:104
|
|
165
173
|
msgid "density"
|
|
166
174
|
msgstr ""
|
|
167
175
|
|
|
168
|
-
#: models.py:
|
|
176
|
+
#: models.py:124
|
|
169
177
|
msgid "user profile"
|
|
170
178
|
msgstr ""
|
|
171
179
|
|
|
172
|
-
#: models.py:
|
|
180
|
+
#: models.py:125
|
|
173
181
|
msgid "user profiles"
|
|
174
182
|
msgstr ""
|
|
175
183
|
|
|
176
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
184
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:6
|
|
177
185
|
#, python-format
|
|
178
186
|
msgid "Assign role to 1 user"
|
|
179
187
|
msgid_plural "Assign role to %(counter)s users"
|
|
180
188
|
msgstr[0] ""
|
|
181
189
|
msgstr[1] ""
|
|
182
190
|
|
|
183
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
191
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:11
|
|
184
192
|
#: views/bulk_actions/assign_role.py:15
|
|
185
193
|
msgid "Assign role"
|
|
186
194
|
msgstr ""
|
|
187
195
|
|
|
188
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
196
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:17
|
|
189
197
|
msgid "Are you sure you want to assign this role to these users?"
|
|
190
198
|
msgstr ""
|
|
191
199
|
|
|
192
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
193
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
200
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:30
|
|
201
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:30
|
|
194
202
|
msgid "You don't have permission to edit this user"
|
|
195
203
|
msgid_plural "You don't have permission to edit these users"
|
|
196
204
|
msgstr[0] ""
|
|
197
205
|
msgstr[1] ""
|
|
198
206
|
|
|
199
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
207
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:37
|
|
200
208
|
msgid "Yes, assign"
|
|
201
209
|
msgstr ""
|
|
202
210
|
|
|
203
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:
|
|
211
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html:38
|
|
204
212
|
msgid "No, don't assign"
|
|
205
213
|
msgstr ""
|
|
206
214
|
|
|
207
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
215
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:6
|
|
208
216
|
#, python-format
|
|
209
217
|
msgid "Delete 1 user"
|
|
210
218
|
msgid_plural "Delete %(counter)s users"
|
|
211
219
|
msgstr[0] ""
|
|
212
220
|
msgstr[1] ""
|
|
213
221
|
|
|
214
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
215
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
222
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:11
|
|
223
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:23
|
|
216
224
|
#: templates/wagtailusers/groups/includes/page_permissions_form.html:13
|
|
217
225
|
#: views/bulk_actions/delete.py:9
|
|
218
226
|
msgid "Delete"
|
|
219
227
|
msgstr ""
|
|
220
228
|
|
|
221
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
229
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:17
|
|
222
230
|
msgid "Are you sure you want to delete these users?"
|
|
223
231
|
msgstr ""
|
|
224
232
|
|
|
225
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
233
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:30
|
|
226
234
|
msgid "You don't have permission to delete this user"
|
|
227
235
|
msgid_plural "You don't have permission to delete these users"
|
|
228
236
|
msgstr[0] ""
|
|
229
237
|
msgstr[1] ""
|
|
230
238
|
|
|
231
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
239
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:37
|
|
232
240
|
#: templates/wagtailusers/groups/confirm_delete.html:21
|
|
233
241
|
#: templates/wagtailusers/users/confirm_delete.html:8
|
|
234
242
|
msgid "Yes, delete"
|
|
235
243
|
msgstr ""
|
|
236
244
|
|
|
237
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:
|
|
245
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_delete.html:38
|
|
238
246
|
msgid "No, don't delete"
|
|
239
247
|
msgstr ""
|
|
240
248
|
|
|
241
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
249
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:6
|
|
242
250
|
#, python-format
|
|
243
251
|
msgid "Change active state for 1 user"
|
|
244
252
|
msgid_plural "Change active state for %(counter)s users"
|
|
245
253
|
msgstr[0] ""
|
|
246
254
|
msgstr[1] ""
|
|
247
255
|
|
|
248
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
256
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:11
|
|
249
257
|
#: views/bulk_actions/set_active_state.py:19
|
|
250
258
|
msgid "Set active state"
|
|
251
259
|
msgstr ""
|
|
252
260
|
|
|
253
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
261
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:17
|
|
254
262
|
msgid "Are you sure you want to change the active state for these users?"
|
|
255
263
|
msgstr ""
|
|
256
264
|
|
|
257
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
265
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:33
|
|
258
266
|
msgid "You cannot change your own active status"
|
|
259
267
|
msgstr ""
|
|
260
268
|
|
|
261
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
269
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:40
|
|
262
270
|
msgid "Yes, change state"
|
|
263
271
|
msgstr ""
|
|
264
272
|
|
|
265
|
-
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:
|
|
273
|
+
#: templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html:41
|
|
266
274
|
msgid "No, don't change state"
|
|
267
275
|
msgstr ""
|
|
268
276
|
|
|
@@ -281,95 +289,56 @@ msgid ""
|
|
|
281
289
|
"users."
|
|
282
290
|
msgstr ""
|
|
283
291
|
|
|
284
|
-
#: templates/wagtailusers/groups/confirm_delete.html:18 views/groups.py:
|
|
292
|
+
#: templates/wagtailusers/groups/confirm_delete.html:18 views/groups.py:143
|
|
285
293
|
msgid "Are you sure you want to delete this group?"
|
|
286
294
|
msgstr ""
|
|
287
295
|
|
|
288
|
-
#: templates/wagtailusers/groups/create.html:21 views/groups.py:100
|
|
289
|
-
msgid "Add group"
|
|
290
|
-
msgstr ""
|
|
291
|
-
|
|
292
|
-
#: templates/wagtailusers/groups/edit.html:26
|
|
293
|
-
#: templates/wagtailusers/users/edit.html:48
|
|
294
|
-
#: templates/wagtailusers/users/edit.html:69
|
|
295
|
-
msgid "Save"
|
|
296
|
-
msgstr ""
|
|
297
|
-
|
|
298
|
-
#: templates/wagtailusers/groups/edit.html:29 views/groups.py:116
|
|
299
|
-
#: views/groups.py:143
|
|
300
|
-
msgid "Delete group"
|
|
301
|
-
msgstr ""
|
|
302
|
-
|
|
303
296
|
#: templates/wagtailusers/groups/includes/formatted_permissions.html:3
|
|
304
297
|
#: templates/wagtailusers/groups/includes/formatted_permissions.html:6
|
|
305
298
|
msgid "Object permissions"
|
|
306
299
|
msgstr ""
|
|
307
300
|
|
|
308
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
309
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
310
|
-
#: views/groups.py:92 views/users.py:
|
|
301
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:20
|
|
302
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:107
|
|
303
|
+
#: views/groups.py:92 views/users.py:166
|
|
311
304
|
msgid "Name"
|
|
312
305
|
msgstr ""
|
|
313
306
|
|
|
314
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
307
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:21
|
|
315
308
|
msgid "Add"
|
|
316
309
|
msgstr ""
|
|
317
310
|
|
|
318
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
311
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:22
|
|
319
312
|
msgid "Change"
|
|
320
313
|
msgstr ""
|
|
321
314
|
|
|
322
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
323
|
-
|
|
324
|
-
msgstr ""
|
|
325
|
-
|
|
326
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:37
|
|
327
|
-
msgid "Lock"
|
|
328
|
-
msgstr ""
|
|
329
|
-
|
|
330
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:40
|
|
331
|
-
msgid "Unlock"
|
|
332
|
-
msgstr ""
|
|
333
|
-
|
|
334
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:43
|
|
335
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:97
|
|
315
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:25
|
|
316
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:55
|
|
336
317
|
msgid "Custom permissions"
|
|
337
318
|
msgstr ""
|
|
338
319
|
|
|
339
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
320
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:71
|
|
340
321
|
msgid "Toggle all"
|
|
341
322
|
msgstr ""
|
|
342
323
|
|
|
343
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
324
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:74
|
|
344
325
|
msgid "Toggle all add permissions"
|
|
345
326
|
msgstr ""
|
|
346
327
|
|
|
347
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
328
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:78
|
|
348
329
|
msgid "Toggle all change permissions"
|
|
349
330
|
msgstr ""
|
|
350
331
|
|
|
351
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
332
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:82
|
|
352
333
|
msgid "Toggle all delete permissions"
|
|
353
334
|
msgstr ""
|
|
354
335
|
|
|
355
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
356
|
-
msgid "Toggle all publish permissions"
|
|
357
|
-
msgstr ""
|
|
358
|
-
|
|
359
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:135
|
|
360
|
-
msgid "Toggle all lock permissions"
|
|
361
|
-
msgstr ""
|
|
362
|
-
|
|
363
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:141
|
|
364
|
-
msgid "Toggle all unlock permissions"
|
|
365
|
-
msgstr ""
|
|
366
|
-
|
|
367
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:147
|
|
336
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:87
|
|
368
337
|
msgid "Toggle all custom permissions"
|
|
369
338
|
msgstr ""
|
|
370
339
|
|
|
371
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
372
|
-
#: templates/wagtailusers/groups/includes/formatted_permissions.html:
|
|
340
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:97
|
|
341
|
+
#: templates/wagtailusers/groups/includes/formatted_permissions.html:100
|
|
373
342
|
msgid "Other permissions"
|
|
374
343
|
msgstr ""
|
|
375
344
|
|
|
@@ -381,7 +350,7 @@ msgstr ""
|
|
|
381
350
|
msgid "Page"
|
|
382
351
|
msgstr ""
|
|
383
352
|
|
|
384
|
-
#: templates/wagtailusers/groups/includes/page_permissions_formset.html:
|
|
353
|
+
#: templates/wagtailusers/groups/includes/page_permissions_formset.html:53
|
|
385
354
|
msgid "Add a page permission"
|
|
386
355
|
msgstr ""
|
|
387
356
|
|
|
@@ -407,21 +376,12 @@ msgid "Account"
|
|
|
407
376
|
msgstr ""
|
|
408
377
|
|
|
409
378
|
#: templates/wagtailusers/users/create.html:11
|
|
410
|
-
#: templates/wagtailusers/users/create.html:
|
|
379
|
+
#: templates/wagtailusers/users/create.html:43
|
|
411
380
|
#: templates/wagtailusers/users/edit.html:11
|
|
412
381
|
msgid "Roles"
|
|
413
382
|
msgstr ""
|
|
414
383
|
|
|
415
|
-
#: templates/wagtailusers/users/
|
|
416
|
-
msgid "Add user"
|
|
417
|
-
msgstr ""
|
|
418
|
-
|
|
419
|
-
#: templates/wagtailusers/users/edit.html:50
|
|
420
|
-
#: templates/wagtailusers/users/edit.html:71 views/users.py:355
|
|
421
|
-
msgid "Delete user"
|
|
422
|
-
msgstr ""
|
|
423
|
-
|
|
424
|
-
#: templates/wagtailusers/users/index.html:12
|
|
384
|
+
#: templates/wagtailusers/users/index.html:9
|
|
425
385
|
msgid "Select all users in listing"
|
|
426
386
|
msgstr ""
|
|
427
387
|
|
|
@@ -467,12 +427,12 @@ msgid_plural "%(num_parent_objects)d users have been deleted"
|
|
|
467
427
|
msgstr[0] ""
|
|
468
428
|
msgstr[1] ""
|
|
469
429
|
|
|
470
|
-
#: views/bulk_actions/set_active_state.py:11 views/users.py:
|
|
471
|
-
#: views/users.py:
|
|
430
|
+
#: views/bulk_actions/set_active_state.py:11 views/users.py:133
|
|
431
|
+
#: views/users.py:191
|
|
472
432
|
msgid "Active"
|
|
473
433
|
msgstr ""
|
|
474
434
|
|
|
475
|
-
#: views/bulk_actions/set_active_state.py:11 views/users.py:
|
|
435
|
+
#: views/bulk_actions/set_active_state.py:11 views/users.py:193
|
|
476
436
|
msgid "Inactive"
|
|
477
437
|
msgstr ""
|
|
478
438
|
|
|
@@ -498,7 +458,7 @@ msgid_plural "%(num_parent_objects)d users have been marked as inactive"
|
|
|
498
458
|
msgstr[0] ""
|
|
499
459
|
msgstr[1] ""
|
|
500
460
|
|
|
501
|
-
#: views/groups.py:82 views/groups.py:
|
|
461
|
+
#: views/groups.py:82 views/groups.py:152
|
|
502
462
|
msgid "Groups"
|
|
503
463
|
msgstr ""
|
|
504
464
|
|
|
@@ -510,6 +470,10 @@ msgstr ""
|
|
|
510
470
|
msgid "Search groups"
|
|
511
471
|
msgstr ""
|
|
512
472
|
|
|
473
|
+
#: views/groups.py:100
|
|
474
|
+
msgid "Add group"
|
|
475
|
+
msgstr ""
|
|
476
|
+
|
|
513
477
|
#: views/groups.py:101
|
|
514
478
|
#, python-format
|
|
515
479
|
msgid "Group '%(object)s' created."
|
|
@@ -524,67 +488,79 @@ msgstr ""
|
|
|
524
488
|
msgid "The group could not be saved due to errors."
|
|
525
489
|
msgstr ""
|
|
526
490
|
|
|
527
|
-
#: views/groups.py:
|
|
491
|
+
#: views/groups.py:122
|
|
528
492
|
msgid "View users in this group"
|
|
529
493
|
msgstr ""
|
|
530
494
|
|
|
531
|
-
#: views/groups.py:
|
|
495
|
+
#: views/groups.py:141
|
|
532
496
|
#, python-format
|
|
533
497
|
msgid "Group '%(object)s' deleted."
|
|
534
498
|
msgstr ""
|
|
535
499
|
|
|
536
|
-
#: views/
|
|
500
|
+
#: views/groups.py:142
|
|
501
|
+
msgid "Delete group"
|
|
502
|
+
msgstr ""
|
|
503
|
+
|
|
504
|
+
#: views/users.py:114 views/users.py:202
|
|
537
505
|
msgid "Last login"
|
|
538
506
|
msgstr ""
|
|
539
507
|
|
|
540
|
-
#: views/users.py:
|
|
508
|
+
#: views/users.py:120
|
|
541
509
|
msgid "Group"
|
|
542
510
|
msgstr ""
|
|
543
511
|
|
|
544
|
-
#: views/users.py:
|
|
512
|
+
#: views/users.py:150
|
|
545
513
|
msgid "Add a user"
|
|
546
514
|
msgstr ""
|
|
547
515
|
|
|
548
|
-
#: views/users.py:
|
|
516
|
+
#: views/users.py:155 views/users.py:395 views/users.py:432
|
|
549
517
|
msgid "Users"
|
|
550
518
|
msgstr ""
|
|
551
519
|
|
|
552
|
-
#: views/users.py:
|
|
520
|
+
#: views/users.py:176
|
|
553
521
|
msgid "Username"
|
|
554
522
|
msgstr ""
|
|
555
523
|
|
|
556
|
-
#: views/users.py:
|
|
524
|
+
#: views/users.py:183
|
|
557
525
|
msgid "Admin"
|
|
558
526
|
msgstr ""
|
|
559
527
|
|
|
560
|
-
#: views/users.py:
|
|
528
|
+
#: views/users.py:184
|
|
561
529
|
msgid "Access level"
|
|
562
530
|
msgstr ""
|
|
563
531
|
|
|
564
|
-
#: views/users.py:
|
|
532
|
+
#: views/users.py:195
|
|
565
533
|
msgid "Status"
|
|
566
534
|
msgstr ""
|
|
567
535
|
|
|
568
|
-
#: views/users.py:
|
|
536
|
+
#: views/users.py:247
|
|
569
537
|
#, python-format
|
|
570
538
|
msgid "More options for '%(title)s'"
|
|
571
539
|
msgstr ""
|
|
572
540
|
|
|
573
|
-
#: views/users.py:
|
|
541
|
+
#: views/users.py:282
|
|
574
542
|
#, python-format
|
|
575
543
|
msgid "User '%(object)s' created."
|
|
576
544
|
msgstr ""
|
|
577
545
|
|
|
578
|
-
#: views/users.py:
|
|
546
|
+
#: views/users.py:283
|
|
547
|
+
msgid "Add user"
|
|
548
|
+
msgstr ""
|
|
549
|
+
|
|
550
|
+
#: views/users.py:304
|
|
579
551
|
#, python-format
|
|
580
552
|
msgid "User '%(object)s' updated."
|
|
581
553
|
msgstr ""
|
|
582
554
|
|
|
583
|
-
#: views/users.py:
|
|
555
|
+
#: views/users.py:305
|
|
584
556
|
msgid "The user could not be saved due to errors."
|
|
585
557
|
msgstr ""
|
|
586
558
|
|
|
587
|
-
#: views/users.py:
|
|
559
|
+
#: views/users.py:358
|
|
560
|
+
msgid "Delete user"
|
|
561
|
+
msgstr ""
|
|
562
|
+
|
|
563
|
+
#: views/users.py:359
|
|
588
564
|
#, python-format
|
|
589
565
|
msgid "User '%(object)s' deleted."
|
|
590
566
|
msgstr ""
|
|
Binary file
|
|
@@ -357,6 +357,9 @@ msgstr ""
|
|
|
357
357
|
"Ni konfiguriranih uporabnikov. Zakaj jih nebi<a "
|
|
358
358
|
"href=\"%(wagtailusers_add_url)s\">dodali</a>?"
|
|
359
359
|
|
|
360
|
+
msgid "Can view"
|
|
361
|
+
msgstr "Lahko si ogledata"
|
|
362
|
+
|
|
360
363
|
#, python-format
|
|
361
364
|
msgid "user %(id)s (deleted)"
|
|
362
365
|
msgstr "uporabnik%(id)s (izbrisan)"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated by Django 5.0.6 on 2024-09-23 15:33
|
|
2
|
+
|
|
3
|
+
from django.db import migrations, models
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
("wagtailusers", "0013_userprofile_density"),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AddField(
|
|
14
|
+
model_name="userprofile",
|
|
15
|
+
name="contrast",
|
|
16
|
+
field=models.CharField(
|
|
17
|
+
choices=[("system", "System default"), ("more_contrast", "More contrast")],
|
|
18
|
+
default="system",
|
|
19
|
+
max_length=40,
|
|
20
|
+
verbose_name="contrast",
|
|
21
|
+
),
|
|
22
|
+
),
|
|
23
|
+
]
|
wagtail/users/models.py
CHANGED
|
@@ -84,6 +84,17 @@ class UserProfile(models.Model):
|
|
|
84
84
|
max_length=40,
|
|
85
85
|
)
|
|
86
86
|
|
|
87
|
+
class AdminContrastThemes(models.TextChoices):
|
|
88
|
+
SYSTEM = "system", _("System default")
|
|
89
|
+
MORE_CONTRAST = "more_contrast", _("More contrast")
|
|
90
|
+
|
|
91
|
+
contrast = models.CharField(
|
|
92
|
+
verbose_name=_("contrast"),
|
|
93
|
+
choices=AdminContrastThemes.choices,
|
|
94
|
+
default=AdminContrastThemes.SYSTEM,
|
|
95
|
+
max_length=40,
|
|
96
|
+
)
|
|
97
|
+
|
|
87
98
|
class AdminDensityThemes(models.TextChoices):
|
|
88
99
|
DEFAULT = "default", _("Default")
|
|
89
100
|
SNUG = "snug", _("Snug")
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{% extends 'wagtailadmin/bulk_actions/confirmation/base.html' %}
|
|
2
2
|
{% load i18n wagtailusers_tags wagtailadmin_tags %}
|
|
3
3
|
|
|
4
|
-
{% block titletag %}
|
|
4
|
+
{% block titletag %}
|
|
5
|
+
{% with counter_val=items|length %}
|
|
6
|
+
{% blocktrans trimmed with counter=counter_val|intcomma count counter_val=counter_val %}Assign role to 1 user {% plural %}Assign role to {{ counter }} users{% endblocktrans %}
|
|
7
|
+
{% endwith %}
|
|
8
|
+
{% endblock %}
|
|
5
9
|
|
|
6
10
|
{% block header %}
|
|
7
11
|
{% trans "Assign role" as header_str %}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{% extends 'wagtailadmin/bulk_actions/confirmation/base.html' %}
|
|
2
2
|
{% load i18n wagtailusers_tags wagtailadmin_tags %}
|
|
3
3
|
|
|
4
|
-
{% block titletag %}
|
|
4
|
+
{% block titletag %}
|
|
5
|
+
{% with counter_val=items|length %}
|
|
6
|
+
{% blocktrans trimmed with counter=counter_val|intcomma count counter_val=counter_val %}Delete 1 user {% plural %}Delete {{ counter }} users{% endblocktrans %}
|
|
7
|
+
{% endwith %}
|
|
8
|
+
{% endblock %}
|
|
5
9
|
|
|
6
10
|
{% block header %}
|
|
7
11
|
{% trans "Delete" as del_str %}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{% extends 'wagtailadmin/bulk_actions/confirmation/base.html' %}
|
|
2
2
|
{% load i18n wagtailusers_tags wagtailadmin_tags %}
|
|
3
3
|
|
|
4
|
-
{% block titletag %}
|
|
4
|
+
{% block titletag %}
|
|
5
|
+
{% with counter_val=items|length %}
|
|
6
|
+
{% blocktrans trimmed with counter=counter_val|intcomma count counter_val=counter_val %}Change active state for 1 user {% plural %}Change active state for {{ counter }} users{% endblocktrans %}
|
|
7
|
+
{% endwith %}
|
|
8
|
+
{% endblock %}
|
|
5
9
|
|
|
6
10
|
{% block header %}
|
|
7
11
|
{% trans "Set active state" as header_str %}
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
{% extends "wagtailadmin/generic/create.html" %}
|
|
2
2
|
{% load wagtailusers_tags i18n wagtailadmin_tags %}
|
|
3
3
|
|
|
4
|
-
{% block
|
|
5
|
-
|
|
6
|
-
{%
|
|
4
|
+
{% block form_content %}
|
|
5
|
+
{% block fields %}
|
|
6
|
+
{% comment %}
|
|
7
|
+
This block is not documented, but developers might assume its existence
|
|
8
|
+
based on the docs for custom user forms.
|
|
9
|
+
{% endcomment %}
|
|
10
|
+
|
|
11
|
+
{% panel id="name" heading=form.name.label id_for_label=form.name.id_for_label is_required=True %}
|
|
12
|
+
{% formattedfield field=form.name show_label=False %}
|
|
13
|
+
{% endpanel %}
|
|
14
|
+
|
|
15
|
+
<div class="w-form-width">
|
|
16
|
+
{# This block is documented in the docs for customizing group views #}
|
|
17
|
+
{% block extra_fields %}{% endblock extra_fields %}
|
|
18
|
+
|
|
19
|
+
{% format_permissions permission_bound_field=form.permissions %}
|
|
7
20
|
|
|
8
|
-
<ul class="fields">
|
|
9
|
-
{% block fields %}
|
|
10
|
-
<li>{% formattedfield form.name %}</li>
|
|
11
|
-
{% block extra_fields %}{% endblock extra_fields %}
|
|
12
|
-
{% endblock fields %}
|
|
13
|
-
<li>
|
|
14
|
-
{% format_permissions permission_bound_field=form.permissions %}
|
|
15
|
-
</li>
|
|
16
21
|
{% for panel in permission_panels %}
|
|
17
|
-
|
|
18
|
-
{{ panel.as_admin_panel }}
|
|
19
|
-
</li>
|
|
22
|
+
{{ panel.as_admin_panel }}
|
|
20
23
|
{% endfor %}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</form>
|
|
24
|
+
</div>
|
|
25
|
+
{% endblock %}
|
|
24
26
|
{% endblock %}
|
|
25
27
|
|
|
26
28
|
{% block extra_js %}
|
|
@@ -1,40 +1,2 @@
|
|
|
1
|
-
{% extends "
|
|
2
|
-
{
|
|
3
|
-
|
|
4
|
-
{% block main_content %}
|
|
5
|
-
<form action="{% url 'wagtailusers_groups:edit' group.id %}" method="POST" novalidate>
|
|
6
|
-
{% csrf_token %}
|
|
7
|
-
|
|
8
|
-
<div class="fields">
|
|
9
|
-
{% block fields %}
|
|
10
|
-
{% panel id="name" heading=form.name.label id_for_label=form.name.id_for_label is_required=True %}
|
|
11
|
-
{% formattedfield field=form.name show_label=False %}
|
|
12
|
-
{% endpanel %}
|
|
13
|
-
{% block extra_fields %}{% endblock extra_fields %}
|
|
14
|
-
{% endblock fields %}
|
|
15
|
-
|
|
16
|
-
<div>
|
|
17
|
-
{% format_permissions permission_bound_field=form.permissions %}
|
|
18
|
-
</div>
|
|
19
|
-
|
|
20
|
-
{% for panel in permission_panels %}
|
|
21
|
-
<div>
|
|
22
|
-
{{ panel.as_admin_panel }}
|
|
23
|
-
</div>
|
|
24
|
-
{% endfor %}
|
|
25
|
-
<div>
|
|
26
|
-
<input type="submit" value="{% trans 'Save' %}" class="button" />
|
|
27
|
-
|
|
28
|
-
{% if perms.auth.delete_group %}
|
|
29
|
-
<a href="{% url 'wagtailusers_groups:delete' group.id %}" class="button no">{% trans "Delete group" %}</a>
|
|
30
|
-
{% endif %}
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
</form>
|
|
35
|
-
{% endblock %}
|
|
36
|
-
|
|
37
|
-
{% block extra_js %}
|
|
38
|
-
{{ block.super }}
|
|
39
|
-
{% include "wagtailusers/groups/includes/group_form_js.html" %}
|
|
40
|
-
{% endblock %}
|
|
1
|
+
{% extends "wagtailusers/groups/create.html" %}
|
|
2
|
+
{# The built-in templates are now identical. #}
|