diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 44881ff3df..2abf5be9a5 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -4,83 +4,83 @@ {% set docsearch_base = 'https://cdn.jsdelivr.net/npm/docsearch.js@' ~ docsearch_version ~ '/dist/cdn/' %} {% block extrahead %} - - - + + + {% endblock %} {% block search %} - - - + + + docSearchReady(); + {% endblock %} diff --git a/docs/_templates/search.html b/docs/_templates/search.html index b49165fc14..9349bc9514 100644 --- a/docs/_templates/search.html +++ b/docs/_templates/search.html @@ -2,100 +2,100 @@ {% set title = _('Search') %} {% block body %} - + -
diff --git a/wagtail/admin/templates/wagtailadmin/account/password_reset/confirm.html b/wagtail/admin/templates/wagtailadmin/account/password_reset/confirm.html
index a86ef0a253..a007134427 100644
--- a/wagtail/admin/templates/wagtailadmin/account/password_reset/confirm.html
+++ b/wagtail/admin/templates/wagtailadmin/account/password_reset/confirm.html
@@ -17,56 +17,56 @@
{% block furniture %}
{% trans "Invalid password reset link" %}
+
+ {% trans 'Request a new password reset' %}
+ {% endif %}
{% for message in messages %}
{% endfor %}
@@ -64,7 +64,7 @@
{{ no_access_msg }}
-{{ no_access_msg }}
+{% blocktrans with type=page_type_names|join:", " count counter=page_type_names|length %} Only pages of type "{{ type }}" may be chosen for this field. Search results will exclude pages of other types. - {% plural %} + {% plural %} Only the following page types may be chosen for this field: {{ type }}. Search results will exclude pages of other types. {% endblocktrans %}
diff --git a/wagtail/admin/templates/wagtailadmin/chooser/confirm_external_to_internal.html b/wagtail/admin/templates/wagtailadmin/chooser/confirm_external_to_internal.html index 3b53d6bafc..bc3855e171 100644 --- a/wagtail/admin/templates/wagtailadmin/chooser/confirm_external_to_internal.html +++ b/wagtail/admin/templates/wagtailadmin/chooser/confirm_external_to_internal.html @@ -3,19 +3,19 @@ {% include "wagtailadmin/shared/header.html" with title=convert_str %}- {% blocktrans %} - The URL you entered, {{ submitted_url }}, - looks like it matches the internal page {{ page }}, which has the URL - {{ internal_url }}. - {% endblocktrans %} -
-- {% blocktrans %} - Converting this to an internal link to {{ page }} would make the link more robust. - Would you like to do this? - {% endblocktrans %} -
++ {% blocktrans %} + The URL you entered, {{ submitted_url }}, + looks like it matches the internal page {{ page }}, which has the URL + {{ internal_url }}. + {% endblocktrans %} +
++ {% blocktrans %} + Converting this to an internal link to {{ page }} would make the link more robust. + Would you like to do this? + {% endblocktrans %} +
-diff --git a/wagtail/admin/templates/wagtailadmin/edit_handlers/inline_panel_child.html b/wagtail/admin/templates/wagtailadmin/edit_handlers/inline_panel_child.html index 69c1186a4f..b80829dbe9 100644 --- a/wagtail/admin/templates/wagtailadmin/edit_handlers/inline_panel_child.html +++ b/wagtail/admin/templates/wagtailadmin/edit_handlers/inline_panel_child.html @@ -1,13 +1,13 @@ {% load i18n wagtailadmin_tags %}
| {% trans "Title" %} | -- | {% trans "Locked at" %} | -|||
|---|---|---|---|---|---|
|
-
- {{ page.get_admin_display_title }}
-
- {% i18n_enabled as show_locale_labels %}
- {% if show_locale_labels and page.locale_id %}
- {% locale_label_from_id page.locale_id as locale_label %}
- {{ locale_label }}
- {% endif %}
- {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=page %}
- {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=page %}
-
-
|
- {# Deliberately empty #} | -{% blocktrans with time_period=page.locked_at|timesince_simple %}{{ time_period }}{% endblocktrans %} |
+ {% trans "Title" %} | ++ | {% trans "Locked at" %} |
| {% trans "Title" %} | -{% trans "Parent" %} | -{% trans "Type" %} | -{% trans "Edited" %} | -
|---|
|
-
- {% if page_perms.can_edit %}
- {{ revision.page.specific_deferred.get_admin_display_title }}
- {% elif revision.page.is_previewable %}
- {{ revision.page.specific_deferred.get_admin_display_title }}
- {% else %}
- {{ revision.page.specific_deferred.get_admin_display_title }}
- {% endif %}
-
- {% i18n_enabled as show_locale_labels %}
- {% if show_locale_labels and revision.page.locale_id %}
- {% locale_label_from_id revision.page.locale_id as locale_label %}
- {{ locale_label }}
- {% endif %}
- {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=revision.page %}
- {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=revision.page %}
-
-
|
- - {{ revision.page.get_parent.specific_deferred.get_admin_display_title }} - | -- {{ revision.page.content_type.model_class.get_verbose_name }} - | -
- {% blocktrans with time_period=revision.created_at|timesince_simple %}{{ time_period }}{% endblocktrans %}
- {% if revision.user %}
- by {{ revision.user|user_display_name }}
- {% endif %}
- |
+ {% trans "Title" %} | +{% trans "Parent" %} | +{% trans "Type" %} | +{% trans "Edited" %} |
|---|
| {% trans "Title" %} | -{% trans "Status" %} | -{% trans "Date" %} | -
|---|
|
-
- {{ page.get_admin_display_title }}
-
- {% i18n_enabled as show_locale_labels %}
- {% if show_locale_labels and page.locale_id %}
- {% locale_label_from_id page.locale_id as locale_label %}
- {{ locale_label }}
- {% endif %}
- {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=page %}
- {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=page %}
-
-
|
- - {% include "wagtailadmin/shared/page_status_tag.html" with page=page %} - | -{% blocktrans with time_period=revision.created_at|timesince_simple %}{{ time_period }}{% endblocktrans %} |
+ {% trans "Title" %} | +{% trans "Status" %} | +{% trans "Date" %} |
|---|
| {% trans "Title" %} | -{% trans "Task" %} | -{% trans "Task started" %} | -||||||
|---|---|---|---|---|---|---|---|---|
|
-
- {% if page_perms.can_edit %}
- {{ workflow_state.page.specific_deferred.get_admin_display_title }}
- {% else %}
- {{ workflow_state.page.specific_deferred.get_admin_display_title }}
- {% endif %}
+
+ {% trans 'Your pages in a workflow' %}+
+
-
|
+ + {% if workflow_state.current_task_state.status == 'rejected' %} + {% icon name="warning" class_name="default" %} + {% trans "Changes requested at" %} + {% elif workflow_state.current_task_state.status == 'in_progress' %} + {% trans "Awaiting" %} + {% endif %} + {{ workflow_state.current_task_state.task.name }} + | +
+ {% blocktrans with time_period=workflow_state.current_task_state.started_at|timesince_simple %}{{ time_period }}{% endblocktrans %}
+ |
+
|
-
- {% if page_perms.can_edit %}
- {{ revision.page.specific_deferred.get_admin_display_title }}
- {% else %}
- {{ revision.page.specific_deferred.get_admin_display_title }}
- {% endif %}
-
- {% i18n_enabled as show_locale_labels %}
- {% if show_locale_labels and revision.page.locale_id %}
- {% locale_label_from_id revision.page.locale_id as locale_label %}
- {{ locale_label }}
- {% endif %}
- {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=revision.page %}
- {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=revision.page %}
-
- {% if actions %}
-
+ |
-
{% if page_perms.can_edit %}
-
- {% for task in workflow_tasks %}
-
- {% if task.status == 'approved' %}
- {% icon "success" title=task.status_display class_name="default" %}
- {% elif task.status == 'rejected' %}
- {% icon "error" title=task.status_display class_name="default" %}
+ {{ revision.page.specific_deferred.get_admin_display_title }}
{% else %}
- {% icon "radio-empty" title=status_display class_name="default" %}
+ {{ revision.page.specific_deferred.get_admin_display_title }}
{% endif %}
-
- {% endfor %}
- |
-
- {% if revision.user %}{{ revision.user|user_display_name }}{% endif %}
- |
-
- |
- {% blocktrans with time_period=task_state.started_at|timesince_simple %}{{ time_period }}{% endblocktrans %}
-
|
+ + {% for task in workflow_tasks %} + + {% if task.status == 'approved' %} + {% icon "success" title=task.status_display class_name="default" %} + {% elif task.status == 'rejected' %} + {% icon "error" title=task.status_display class_name="default" %} + {% else %} + {% icon "radio-empty" title=status_display class_name="default" %} + {% endif %} + + {% endfor %} + | ++ {% if revision.user %}{{ revision.user|user_display_name }}{% endif %} + | +
+ {% blocktrans with time_period=task_state.started_at|timesince_simple %}{{ time_period }}{% endblocktrans %}
+ |
+
- {% block branding_logo %} {% endblock %}
- |
-
|
|
+
{% trans "You can edit the page here:"%} {{ settings.BASE_URL }}{% url 'wagtailadmin_pages:edit' page.id %}
{% endblock %} diff --git a/wagtail/admin/templates/wagtailadmin/pages/_privacy_switch.html b/wagtail/admin/templates/wagtailadmin/pages/_privacy_switch.html index 26be8a69b7..c73ce42659 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/_privacy_switch.html +++ b/wagtail/admin/templates/wagtailadmin/pages/_privacy_switch.html @@ -6,28 +6,28 @@ {% endif %} {% if not page.is_root %} -{% trans "Are you sure you want to delete these pages?" %}
- {% blocktrans count counter=page.descendant_count %} - This will also delete one more subpage. - {% plural %} - This will also delete {{ counter }} more subpages. - {% endblocktrans %} -
- {% endif %} -+ {% blocktrans count counter=page.descendant_count %} + This will also delete one more subpage. + {% plural %} + This will also delete {{ counter }} more subpages. + {% endblocktrans %} +
+ {% endif %} +{% trans "Are you sure you want to move these pages?" %}
- {% blocktrans count counter=page.child_pages %} - This page has one child page - {% plural %} - This page has {{ counter }} child pages - {% endblocktrans %} -
- {% endif %} -+ {% blocktrans count counter=page.child_pages %} + This page has one child page + {% plural %} + This page has {{ counter }} child pages + {% endblocktrans %} +
+ {% endif %} +{% trans "Are you sure you want to publish these pages?" %}
-- {% blocktrans count counter=page.draft_descendant_count %} - This page has one unpublished subpage - {% plural %} - This page has {{ counter }} unpublished subpages - {% endblocktrans %} -
- {% endif %} -{% trans "Are you sure you want to publish these pages?" %}
++ {% blocktrans count counter=page.draft_descendant_count %} + This page has one unpublished subpage + {% plural %} + This page has {{ counter }} unpublished subpages + {% endblocktrans %} +
+ {% endif %} +{% trans "Are you sure you want to unpublish these pages?" %}
-- {% if page.live_descendant_count %} - {% blocktrans count counter=page.live_descendant_count %} - This page has one subpage - {% plural %} - This page has {{ counter }} subpages - {% endblocktrans %} - {% endif %} -
-{% trans "Are you sure you want to unpublish these pages?" %}
++ {% if page.live_descendant_count %} + {% blocktrans count counter=page.live_descendant_count %} + This page has one subpage + {% plural %} + This page has {{ counter }} subpages + {% endblocktrans %} + {% endif %} +
+- {% if needs_changes %} - {% blocktrans %} - This page was marked as needing changes at {{ task }} in {{ workflow }}. - {% endblocktrans %} - {% else %} - {% blocktrans %} - This page is currently at {{ task }} in {{ workflow }}. - {% endblocktrans %} - {% endif %} + {% if needs_changes %} + {% blocktrans %} + This page was marked as needing changes at {{ task }} in {{ workflow }}. + {% endblocktrans %} + {% else %} + {% blocktrans %} + This page is currently at {{ task }} in {{ workflow }}. + {% endblocktrans %} + {% endif %}
{% trans 'Publishing this page will cancel the current workflow.' %}
{% trans 'Would you still like to publish this page?' %}
-diff --git a/wagtail/admin/templates/wagtailadmin/reports/base_report.html b/wagtail/admin/templates/wagtailadmin/reports/base_report.html index eda58af787..68d4c13713 100644 --- a/wagtail/admin/templates/wagtailadmin/reports/base_report.html +++ b/wagtail/admin/templates/wagtailadmin/reports/base_report.html @@ -9,8 +9,8 @@