wagtail 6.2.2__py3-none-any.whl → 6.3rc2__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 +12 -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.3rc2.dist-info}/METADATA +6 -6
- {wagtail-6.2.2.dist-info → wagtail-6.3rc2.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.3rc2.dist-info}/LICENSE +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc2.dist-info}/WHEEL +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc2.dist-info}/entry_points.txt +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3rc2.dist-info}/top_level.txt +0 -0
|
@@ -5,13 +5,14 @@
|
|
|
5
5
|
# Translators:
|
|
6
6
|
# Philip Crisp, 2022
|
|
7
7
|
# Philip Crisp, 2022
|
|
8
|
+
# Philip Lindsay-Crisp, 2024
|
|
8
9
|
msgid ""
|
|
9
10
|
msgstr ""
|
|
10
11
|
"Project-Id-Version: Wagtail\n"
|
|
11
12
|
"Report-Msgid-Bugs-To: \n"
|
|
12
13
|
"POT-Creation-Date: 2024-08-07 10:06+0100\n"
|
|
13
14
|
"PO-Revision-Date: 2014-02-19 19:01+0000\n"
|
|
14
|
-
"Last-Translator: Philip Crisp,
|
|
15
|
+
"Last-Translator: Philip Lindsay-Crisp, 2024\n"
|
|
15
16
|
"Language-Team: Welsh (http://app.transifex.com/torchbox/wagtail/language/"
|
|
16
17
|
"cy/)\n"
|
|
17
18
|
"MIME-Version: 1.0\n"
|
|
@@ -50,6 +51,9 @@ msgstr "Dileu"
|
|
|
50
51
|
msgid "Save"
|
|
51
52
|
msgstr "Cadw"
|
|
52
53
|
|
|
54
|
+
msgid "Locked"
|
|
55
|
+
msgstr "Wedi' gloi"
|
|
56
|
+
|
|
53
57
|
#, python-format
|
|
54
58
|
msgid "%(label)s and Publish"
|
|
55
59
|
msgstr "%(label)s a chyhoeddi"
|
|
@@ -57,10 +61,21 @@ msgstr "%(label)s a chyhoeddi"
|
|
|
57
61
|
msgid "Wagtail snippets"
|
|
58
62
|
msgstr "Pytiau Wagtail"
|
|
59
63
|
|
|
64
|
+
msgid "Delete selected snippets"
|
|
65
|
+
msgstr "Dileu'r tamaid sydd wedi gael ei dethol"
|
|
66
|
+
|
|
60
67
|
#, python-format
|
|
61
68
|
msgid "%(model_name)s '%(object)s' deleted."
|
|
62
69
|
msgstr "%(model_name)s '%(object)s' wedi'i dileu."
|
|
63
70
|
|
|
71
|
+
#, python-format
|
|
72
|
+
msgid "%(count)d %(model_name)s deleted."
|
|
73
|
+
msgid_plural "%(count)d %(model_name)s deleted."
|
|
74
|
+
msgstr[0] "%(count)d %(model_name)s wedi' dileu."
|
|
75
|
+
msgstr[1] "%(count)d %(model_name)s wedi' dileu."
|
|
76
|
+
msgstr[2] "%(count)d %(model_name)s wedi' dileu. "
|
|
77
|
+
msgstr[3] "%(count)d %(model_name)s wedi' dileu."
|
|
78
|
+
|
|
64
79
|
#, python-format
|
|
65
80
|
msgid "Delete %(snippet_type_name)s"
|
|
66
81
|
msgstr "Dileu %(snippet_type_name)s"
|
|
@@ -85,18 +100,60 @@ msgid "Are you sure you want to delete %(count)s %(snippet_type_name)s?"
|
|
|
85
100
|
msgstr ""
|
|
86
101
|
"Ydych chi'n siwr eich fod chi eisio dileu %(count)s %(snippet_type_name)s?"
|
|
87
102
|
|
|
103
|
+
#, python-format
|
|
104
|
+
msgid "You don't have permission to delete this %(snippet_type_name)s"
|
|
105
|
+
msgstr "Nid oes gennych ganiatâd i ddileu %(snippet_type_name)s hon"
|
|
106
|
+
|
|
107
|
+
#, python-format
|
|
108
|
+
msgid "You don't have permission to delete these %(snippet_plural_name)s"
|
|
109
|
+
msgstr "Nid oes gennych ganiatâd i ddileu'r %(snippet_plural_name)s yma"
|
|
110
|
+
|
|
88
111
|
msgid "Yes, delete"
|
|
89
112
|
msgstr "Ia, dileu"
|
|
90
113
|
|
|
91
114
|
msgid "No, don't delete"
|
|
92
115
|
msgstr "Na, peidiwch a ddileu"
|
|
93
116
|
|
|
117
|
+
#, python-format
|
|
118
|
+
msgid "Sorry, no snippets match \"<em>%(search_query)s</em>\""
|
|
119
|
+
msgstr ""
|
|
120
|
+
"Mae'n ddrwg gennym, nid oes tamaid sydd yn cyfateb a \"<em>%(search_query)s</"
|
|
121
|
+
"em>\""
|
|
122
|
+
|
|
123
|
+
#, python-format
|
|
124
|
+
msgid ""
|
|
125
|
+
"You haven't created any %(snippet_type_name)s snippets. Why not <a "
|
|
126
|
+
"href=\"%(wagtailsnippets_create_snippet_url)s\" target=\"_blank\" "
|
|
127
|
+
"rel=\"noreferrer\">create one now</a>?"
|
|
128
|
+
msgstr ""
|
|
129
|
+
"Nid ydych wedi creu unrhyw tamaid %(snippet_type_name)s. Beth am <a "
|
|
130
|
+
"href=\"%(wagtailsnippets_create_snippet_url)s\" target=\"_blank\" "
|
|
131
|
+
"rel=\"noreferrer\">creu un rwan</a>?"
|
|
132
|
+
|
|
133
|
+
msgid "Publishing…"
|
|
134
|
+
msgstr "Yn Cyhoeddi..."
|
|
135
|
+
|
|
136
|
+
msgid "Publish this version"
|
|
137
|
+
msgstr "Cyhoeddi fersiwn newydd"
|
|
138
|
+
|
|
94
139
|
msgid "Saving…"
|
|
95
140
|
msgstr "Cadw…"
|
|
96
141
|
|
|
142
|
+
msgid "Replace current draft"
|
|
143
|
+
msgstr "Amnewid y drafft hon"
|
|
144
|
+
|
|
145
|
+
msgid "Replace current revision"
|
|
146
|
+
msgstr "Amnewid y fersiwn gyfredol"
|
|
147
|
+
|
|
148
|
+
msgid "Save draft"
|
|
149
|
+
msgstr "Cadw drafft"
|
|
150
|
+
|
|
97
151
|
msgid "Actions"
|
|
98
152
|
msgstr "Gweithredoedd"
|
|
99
153
|
|
|
154
|
+
msgid "Select all snippets in listing"
|
|
155
|
+
msgstr "Dewiswch yr holl bytiau yn y rhestr"
|
|
156
|
+
|
|
100
157
|
msgid "Choose"
|
|
101
158
|
msgstr "Dewis"
|
|
102
159
|
|
|
@@ -106,6 +163,21 @@ msgstr "Pytiau"
|
|
|
106
163
|
msgid "Name"
|
|
107
164
|
msgstr "Enw"
|
|
108
165
|
|
|
166
|
+
msgid "Instances"
|
|
167
|
+
msgstr "Enghreifftiau"
|
|
168
|
+
|
|
169
|
+
#, python-format
|
|
170
|
+
msgid "More options for '%(title)s'"
|
|
171
|
+
msgstr "Fwy o opsiynau i '%(title)s'"
|
|
172
|
+
|
|
173
|
+
#, python-format
|
|
174
|
+
msgid "Edit this %(model_name)s"
|
|
175
|
+
msgstr "Newid %(model_name)s hon"
|
|
176
|
+
|
|
177
|
+
#, python-format
|
|
178
|
+
msgid "%(model_name)s history"
|
|
179
|
+
msgstr "Hanes %(model_name)s"
|
|
180
|
+
|
|
109
181
|
msgid "Home"
|
|
110
182
|
msgstr "Adref"
|
|
111
183
|
|
|
@@ -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"
|
|
@@ -18,52 +18,52 @@ msgstr ""
|
|
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
|
19
19
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
20
20
|
|
|
21
|
-
#: action_menu.py:
|
|
21
|
+
#: action_menu.py:72
|
|
22
22
|
#: templates/wagtailsnippets/snippets/action_menu/publish.html:15
|
|
23
23
|
msgid "Publish"
|
|
24
24
|
msgstr ""
|
|
25
25
|
|
|
26
|
-
#: action_menu.py:
|
|
26
|
+
#: action_menu.py:85
|
|
27
27
|
msgid "Submit for moderation"
|
|
28
28
|
msgstr ""
|
|
29
29
|
|
|
30
|
-
#: action_menu.py:
|
|
30
|
+
#: action_menu.py:113
|
|
31
31
|
#, python-format
|
|
32
32
|
msgid "Resubmit to %(task_name)s"
|
|
33
33
|
msgstr ""
|
|
34
34
|
|
|
35
|
-
#: action_menu.py:
|
|
35
|
+
#: action_menu.py:123
|
|
36
36
|
#, python-format
|
|
37
37
|
msgid "Submit to %(workflow_name)s"
|
|
38
38
|
msgstr ""
|
|
39
39
|
|
|
40
|
-
#: action_menu.py:
|
|
40
|
+
#: action_menu.py:164
|
|
41
41
|
msgid "Restart workflow "
|
|
42
42
|
msgstr ""
|
|
43
43
|
|
|
44
|
-
#: action_menu.py:
|
|
44
|
+
#: action_menu.py:185
|
|
45
45
|
msgid "Cancel workflow "
|
|
46
46
|
msgstr ""
|
|
47
47
|
|
|
48
|
-
#: action_menu.py:
|
|
48
|
+
#: action_menu.py:199
|
|
49
49
|
msgid "Unpublish"
|
|
50
50
|
msgstr ""
|
|
51
51
|
|
|
52
|
-
#: action_menu.py:
|
|
52
|
+
#: action_menu.py:219 bulk_actions/delete.py:15
|
|
53
53
|
msgid "Delete"
|
|
54
54
|
msgstr ""
|
|
55
55
|
|
|
56
|
-
#: action_menu.py:
|
|
56
|
+
#: action_menu.py:247
|
|
57
57
|
#: templates/wagtailsnippets/snippets/action_menu/save.html:27
|
|
58
58
|
msgid "Save"
|
|
59
59
|
msgstr ""
|
|
60
60
|
|
|
61
|
-
#: action_menu.py:
|
|
61
|
+
#: action_menu.py:254
|
|
62
62
|
#: templates/wagtailsnippets/snippets/action_menu/locked.html:4
|
|
63
63
|
msgid "Locked"
|
|
64
64
|
msgstr ""
|
|
65
65
|
|
|
66
|
-
#: action_menu.py:
|
|
66
|
+
#: action_menu.py:330
|
|
67
67
|
#, python-format
|
|
68
68
|
msgid "%(label)s and Publish"
|
|
69
69
|
msgstr ""
|
|
@@ -97,38 +97,38 @@ msgstr ""
|
|
|
97
97
|
msgid "Delete "
|
|
98
98
|
msgstr ""
|
|
99
99
|
|
|
100
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
100
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:26
|
|
101
101
|
#, python-format
|
|
102
102
|
msgid "Used %(usage_count)s time"
|
|
103
103
|
msgid_plural "Used %(usage_count)s times"
|
|
104
104
|
msgstr[0] ""
|
|
105
105
|
msgstr[1] ""
|
|
106
106
|
|
|
107
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
107
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:29
|
|
108
108
|
#, python-format
|
|
109
109
|
msgid "Are you sure you want to delete this %(snippet_type_name)s?"
|
|
110
110
|
msgstr ""
|
|
111
111
|
|
|
112
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
112
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:31
|
|
113
113
|
#, python-format
|
|
114
114
|
msgid "Are you sure you want to delete %(count)s %(snippet_type_name)s?"
|
|
115
115
|
msgstr ""
|
|
116
116
|
|
|
117
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
117
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:46
|
|
118
118
|
#, python-format
|
|
119
119
|
msgid "You don't have permission to delete this %(snippet_type_name)s"
|
|
120
120
|
msgstr ""
|
|
121
121
|
|
|
122
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
122
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:50
|
|
123
123
|
#, python-format
|
|
124
124
|
msgid "You don't have permission to delete these %(snippet_plural_name)s"
|
|
125
125
|
msgstr ""
|
|
126
126
|
|
|
127
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
127
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:59
|
|
128
128
|
msgid "Yes, delete"
|
|
129
129
|
msgstr ""
|
|
130
130
|
|
|
131
|
-
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:
|
|
131
|
+
#: templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html:60
|
|
132
132
|
msgid "No, don't delete"
|
|
133
133
|
msgstr ""
|
|
134
134
|
|
|
@@ -169,12 +169,7 @@ msgstr ""
|
|
|
169
169
|
msgid "Save draft"
|
|
170
170
|
msgstr ""
|
|
171
171
|
|
|
172
|
-
#: templates/wagtailsnippets/snippets/
|
|
173
|
-
#: templates/wagtailsnippets/snippets/edit.html:17
|
|
174
|
-
msgid "Actions"
|
|
175
|
-
msgstr ""
|
|
176
|
-
|
|
177
|
-
#: templates/wagtailsnippets/snippets/index.html:13
|
|
172
|
+
#: templates/wagtailsnippets/snippets/index.html:10
|
|
178
173
|
msgid "Select all snippets in listing"
|
|
179
174
|
msgstr ""
|
|
180
175
|
|
|
@@ -182,35 +177,34 @@ msgstr ""
|
|
|
182
177
|
msgid "Choose"
|
|
183
178
|
msgstr ""
|
|
184
179
|
|
|
185
|
-
#: views/snippets.py:76 views/snippets.py:
|
|
186
|
-
#: wagtail_hooks.py:42
|
|
180
|
+
#: views/snippets.py:76 views/snippets.py:882 wagtail_hooks.py:42
|
|
187
181
|
msgid "Snippets"
|
|
188
182
|
msgstr ""
|
|
189
183
|
|
|
190
|
-
#: views/snippets.py:
|
|
184
|
+
#: views/snippets.py:117
|
|
191
185
|
msgid "Name"
|
|
192
186
|
msgstr ""
|
|
193
187
|
|
|
194
|
-
#: views/snippets.py:
|
|
188
|
+
#: views/snippets.py:123
|
|
195
189
|
msgid "Instances"
|
|
196
190
|
msgstr ""
|
|
197
191
|
|
|
198
|
-
#: views/snippets.py:
|
|
192
|
+
#: views/snippets.py:215
|
|
199
193
|
#, python-format
|
|
200
194
|
msgid "More options for '%(title)s'"
|
|
201
195
|
msgstr ""
|
|
202
196
|
|
|
203
|
-
#: views/snippets.py:
|
|
197
|
+
#: views/snippets.py:363
|
|
204
198
|
#, python-format
|
|
205
199
|
msgid "Edit this %(model_name)s"
|
|
206
200
|
msgstr ""
|
|
207
201
|
|
|
208
|
-
#: views/snippets.py:
|
|
202
|
+
#: views/snippets.py:369
|
|
209
203
|
#, python-format
|
|
210
204
|
msgid "%(model_name)s history"
|
|
211
205
|
msgstr ""
|
|
212
206
|
|
|
213
|
-
#: views/snippets.py:
|
|
207
|
+
#: views/snippets.py:881
|
|
214
208
|
msgid "Home"
|
|
215
209
|
msgstr ""
|
|
216
210
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,r={8039:(e,r,t)=>{var o=t(2614),a=t(9465);class
|
|
1
|
+
(()=>{"use strict";var e,r={8039:(e,r,t)=>{var o=t(2614),a=t(9465),n=t(2898);class s extends o.ZZ{getURLParams(e){const r=super.getURLParams(e);return n.HE.ACTIVE_CONTENT_LOCALE&&(r.locale=n.HE.ACTIVE_CONTENT_LOCALE),r}}class i extends a.y{titleStateKey="string";chooserModalClass=s}class l extends a._{widgetClass=i;chooserModalClass=s}window.telepath.register("wagtail.snippets.widgets.SnippetChooser",l)},1669:e=>{e.exports=jQuery}},t={};function o(e){var a=t[e];if(void 0!==a)return a.exports;var n=t[e]={exports:{}};return r[e](n,n.exports,o),n.exports}o.m=r,e=[],o.O=(r,t,a,n)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,a,n]=e[d],i=!0,l=0;l<t.length;l++)(!1&n||s>=n)&&Object.keys(o.O).every((e=>o.O[e](t[l])))?t.splice(l--,1):(i=!1,n<s&&(s=n));if(i){e.splice(d--,1);var u=a();void 0!==u&&(r=u)}}return r}n=n||0;for(var d=e.length;d>0&&e[d-1][2]>n;d--)e[d]=e[d-1];e[d]=[t,a,n]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=474,(()=>{var e={474:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var a,n,[s,i,l]=t,u=0;if(s.some((r=>0!==e[r]))){for(a in i)o.o(i,a)&&(o.m[a]=i[a]);if(l)var d=l(o)}for(r&&r(t);u<s.length;u++)n=s[u],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return o.O(d)},t=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var a=o.O(void 0,[321],(()=>o(8039)));a=o.O(a)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,r={9987:(e,r,t)=>{var o=t(2614),
|
|
1
|
+
(()=>{"use strict";var e,r={9987:(e,r,t)=>{var o=t(2614),n=t(9465),a=t(2898);class i extends o.ZZ{getURLParams(e){const r=super.getURLParams(e);return a.HE.ACTIVE_CONTENT_LOCALE&&(r.locale=a.HE.ACTIVE_CONTENT_LOCALE),r}}class l extends n.y{titleStateKey="string";chooserModalClass=i}window.SnippetChooser=l},1669:e=>{e.exports=jQuery}},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,e=[],o.O=(r,t,n,a)=>{if(!t){var i=1/0;for(c=0;c<e.length;c++){for(var[t,n,a]=e[c],l=!0,s=0;s<t.length;s++)(!1&a||i>=a)&&Object.keys(o.O).every((e=>o.O[e](t[s])))?t.splice(s--,1):(l=!1,a<i&&(i=a));if(l){e.splice(c--,1);var u=n();void 0!==u&&(r=u)}}return r}a=a||0;for(var c=e.length;c>0&&e[c-1][2]>a;c--)e[c]=e[c-1];e[c]=[t,n,a]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=686,(()=>{var e={686:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,a,[i,l,s]=t,u=0;if(i.some((r=>0!==e[r]))){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);if(s)var c=s(o)}for(r&&r(t);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return o.O(c)},t=globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=o.O(void 0,[321],(()=>o(9987)));n=o.O(n)})();
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{% if items|length == 1 %}
|
|
6
6
|
{% blocktrans trimmed with snippet_type_name=model_opts.verbose_name %}Delete {{ snippet_type_name }}{% endblocktrans %} - {{ items.0.item }}
|
|
7
7
|
{% else %}
|
|
8
|
-
{{ items|length }} {{ model_opts.verbose_name_plural|capfirst }}
|
|
8
|
+
{{ items|length|intcomma }} {{ model_opts.verbose_name_plural|capfirst }}
|
|
9
9
|
{% endif %}
|
|
10
10
|
{% endblock %}
|
|
11
11
|
|
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
{% if items %}
|
|
23
23
|
{% if items|length == 1 %}
|
|
24
24
|
<div class="usagecount">
|
|
25
|
-
|
|
25
|
+
{% with usage_count_val=items.0.usage_count %}
|
|
26
|
+
<a href="{{ items.0.usage_url }}">{% blocktrans trimmed with usage_count=usage_count_val|intcomma count usage_count_val=usage_count_val %}Used {{ usage_count }} time{% plural %}Used {{ usage_count }} times{% endblocktrans %}</a>
|
|
27
|
+
{% endwith %}
|
|
26
28
|
</div>
|
|
27
29
|
<p>{% blocktrans trimmed with snippet_type_name=model_opts.verbose_name %}Are you sure you want to delete this {{ snippet_type_name }}?{% endblocktrans %}</p>
|
|
28
30
|
{% else %}
|
|
29
|
-
<p>{% blocktrans trimmed with snippet_type_name=model_opts.verbose_name_plural count=items|length %}Are you sure you want to delete {{ count }} {{ snippet_type_name }}?{% endblocktrans %}</p>
|
|
31
|
+
<p>{% blocktrans trimmed with snippet_type_name=model_opts.verbose_name_plural count=items|length|intcomma %}Are you sure you want to delete {{ count }} {{ snippet_type_name }}?{% endblocktrans %}</p>
|
|
30
32
|
<ul>
|
|
31
33
|
{% for snippet in items %}
|
|
32
34
|
<li>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% load i18n wagtailadmin_tags %}
|
|
2
|
-
<button type="submit" class="button action-save
|
|
2
|
+
<button type="submit" class="button action-save" disabled>
|
|
3
3
|
{% if icon_name %}{% icon name=icon_name %}{% endif %}
|
|
4
4
|
{% trans 'Locked' %}
|
|
5
5
|
</button>
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
{%
|
|
2
|
-
|
|
3
|
-
{% if show_menu %}
|
|
4
|
-
{% dropdown_button button=default_menu_item toggle_icon="arrow-up" keep_mounted=True %}
|
|
5
|
-
{% for item in rendered_menu_items %}
|
|
6
|
-
{{ item }}
|
|
7
|
-
{% endfor %}
|
|
8
|
-
{% enddropdown_button %}
|
|
9
|
-
{% elif default_menu_item %}
|
|
10
|
-
{{ default_menu_item }}
|
|
11
|
-
{% endif %}
|
|
1
|
+
{% extends "wagtailadmin/shared/action_menu/menu.html" %}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{%
|
|
2
|
-
{% if url %}
|
|
3
|
-
<a class="button{% if classname %} {{ classname }}{% endif %}{% if is_revision %} warning{% endif %}" href="{{ url }}">{% if icon_name %}{% icon name=icon_name %}{% endif %}{{ label }}</a>
|
|
4
|
-
{% else %}
|
|
5
|
-
<button type="submit" name="{{ name }}" value="{{ label }}" class="button{% if classname %} {{ classname }}{% endif %}{% if is_revision %} warning{% endif %}">{% if icon_name %}{% icon name=icon_name %}{% endif %}{{ label }}</button>
|
|
6
|
-
{% endif %}
|
|
1
|
+
{% extends "wagtailadmin/shared/action_menu/menu_item.html" %}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
type="submit"
|
|
4
4
|
name="{{ name }}"
|
|
5
5
|
value="{{ name }}"
|
|
6
|
-
class="button action-save button-longrunning
|
|
6
|
+
class="button action-save button-longrunning"
|
|
7
7
|
data-controller="w-progress w-kbd"
|
|
8
8
|
data-action="w-progress#activate"
|
|
9
9
|
data-w-kbd-key-value="mod+s"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{% load i18n wagtailadmin_tags %}
|
|
2
2
|
<button
|
|
3
3
|
type="submit"
|
|
4
|
-
class="button action-save button-longrunning
|
|
4
|
+
class="button action-save button-longrunning"
|
|
5
5
|
data-controller="w-progress w-kbd"
|
|
6
6
|
data-action="w-progress#activate"
|
|
7
7
|
data-w-kbd-key-value="mod+s"
|
|
@@ -11,22 +11,5 @@
|
|
|
11
11
|
{% endblock %}
|
|
12
12
|
|
|
13
13
|
{% block actions %}
|
|
14
|
-
|
|
15
|
-
<nav class="actions actions--primary footer__container" aria-label="{% trans 'Actions' %}">
|
|
16
|
-
{{ action_menu.render_html }}
|
|
17
|
-
</nav>
|
|
18
|
-
</footer>
|
|
19
|
-
{% endblock %}
|
|
20
|
-
|
|
21
|
-
{% block extra_js %}
|
|
22
|
-
{{ block.super }}
|
|
23
|
-
|
|
24
|
-
<script>
|
|
25
|
-
// Set wagtailConfig.ACTIVE_CONTENT_LOCALE if this is a translated page
|
|
26
|
-
// This value may be used by JS widgets on the form
|
|
27
|
-
{% if locale %}
|
|
28
|
-
window.wagtailConfig = window.wagtailConfig || {};
|
|
29
|
-
window.wagtailConfig.ACTIVE_CONTENT_LOCALE = '{{ locale.language_code|escapejs }}';
|
|
30
|
-
{% endif %}
|
|
31
|
-
</script>
|
|
14
|
+
{{ action_menu.render_html }}
|
|
32
15
|
{% endblock %}
|
|
@@ -12,25 +12,12 @@
|
|
|
12
12
|
{% endblock %}
|
|
13
13
|
|
|
14
14
|
{% block actions %}
|
|
15
|
-
|
|
16
|
-
<nav class="actions actions--primary footer__container" aria-label="{% trans 'Actions' %}">
|
|
17
|
-
{{ action_menu.render_html }}
|
|
18
|
-
</nav>
|
|
19
|
-
</footer>
|
|
15
|
+
{{ action_menu.render_html }}
|
|
20
16
|
{% endblock %}
|
|
21
17
|
|
|
22
18
|
{% block extra_js %}
|
|
23
19
|
{{ block.super }}
|
|
24
20
|
|
|
25
|
-
<script>
|
|
26
|
-
// Set wagtailConfig.ACTIVE_CONTENT_LOCALE if this is a translated page
|
|
27
|
-
// This value may be used by JS widgets on the form
|
|
28
|
-
{% if locale %}
|
|
29
|
-
window.wagtailConfig = window.wagtailConfig || {};
|
|
30
|
-
window.wagtailConfig.ACTIVE_CONTENT_LOCALE = '{{ locale.language_code|escapejs }}';
|
|
31
|
-
{% endif %}
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
21
|
{% if workflow_enabled %}
|
|
35
22
|
{% include "wagtailadmin/shared/_workflow_init.html" %}
|
|
36
23
|
{% endif %}
|
|
@@ -2,14 +2,11 @@
|
|
|
2
2
|
{% load i18n wagtailadmin_tags %}
|
|
3
3
|
|
|
4
4
|
{% block extra_js %}
|
|
5
|
-
<script>
|
|
6
|
-
window.wagtailConfig.BULK_ACTION_ITEM_TYPE = 'SNIPPET';
|
|
7
|
-
</script>
|
|
8
|
-
<script defer src="{% versioned_static 'wagtailadmin/js/bulk-actions.js' %}"></script>
|
|
9
5
|
{{ block.super }}
|
|
6
|
+
<script defer src="{% versioned_static 'wagtailadmin/js/bulk-actions.js' %}"></script>
|
|
10
7
|
{% endblock %}
|
|
11
8
|
|
|
12
9
|
{% block bulk_actions %}
|
|
13
10
|
{% trans "Select all snippets in listing" as select_all_text %}
|
|
14
|
-
{% include 'wagtailadmin/bulk_actions/footer.html' with select_all_obj_text=select_all_text app_label=model_opts.app_label model_name=model_opts.model_name objects=page_obj %}
|
|
11
|
+
{% include 'wagtailadmin/bulk_actions/footer.html' with select_all_obj_text=select_all_text app_label=model_opts.app_label model_name=model_opts.model_name objects=page_obj item_type="SNIPPET" %}
|
|
15
12
|
{% endblock %}
|