diff --git a/server/core/templates/wagtailadmin/pages/listing/_page_title_explore.html b/server/core/templates/wagtailadmin/pages/listing/_page_title_explore.html new file mode 100644 index 00000000..ca16cd16 --- /dev/null +++ b/server/core/templates/wagtailadmin/pages/listing/_page_title_explore.html @@ -0,0 +1,32 @@ +{% load i18n wagtailadmin_tags %} + +{# The title field for a page in the page listing, when in 'explore' mode #} + +
+ {% if page.is_site_root %} + {% if perms.wagtailcore.add_site or perms.wagtailcore.change_site or perms.wagtailcore.delete_site %} + {% icon name="site" classname="initial" %} + {% endif %} + {% endif %} + + {% if page_perms.can_edit %} + + {% if not page.is_site_root and not page.is_leaf %}{% icon name="folder" classname="initial" %}{% endif %} + {{ page.get_admin_display_title }} + + {% else %} + {% if not page.is_site_root and not page.is_leaf %}{% icon name="folder" classname="initial" %}{% endif %} + {{ page.get_admin_display_title }} + {% endif %} + + {% if show_locale_labels %} + {% status page.locale.get_display_name classname="w-status--label" %} + {% endif %} + + {% include "wagtailadmin/pages/listing/_privacy_indicator.html" with page=page %} + {% include "wagtailadmin/pages/listing/_locked_indicator.html" with page=page %} +
+ +