diff --git a/wagtail/admin/templates/wagtailadmin/generic/base.html b/wagtail/admin/templates/wagtailadmin/generic/base.html index db7f9a9bf5..0a0e715376 100644 --- a/wagtail/admin/templates/wagtailadmin/generic/base.html +++ b/wagtail/admin/templates/wagtailadmin/generic/base.html @@ -5,7 +5,7 @@ {% block content %} {% block header %} - {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle icon=header_icon %} + {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle icon=header_icon only %} {% endblock %}
diff --git a/wagtail/admin/templates/wagtailadmin/generic/index.html b/wagtail/admin/templates/wagtailadmin/generic/index.html index b4b117f980..9b5ad73e8b 100644 --- a/wagtail/admin/templates/wagtailadmin/generic/index.html +++ b/wagtail/admin/templates/wagtailadmin/generic/index.html @@ -6,9 +6,9 @@ {% block content %} {% if can_add %} {% url view.add_url_name as add_link %} - {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle action_url=add_link action_text=view.add_item_label icon=header_icon %} + {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle action_url=add_link action_text=view.add_item_label icon=header_icon only %} {% else %} - {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle icon=header_icon %} + {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle icon=header_icon only %} {% endif %} {% block listing %} diff --git a/wagtail/admin/templates/wagtailadmin/workflows/create.html b/wagtail/admin/templates/wagtailadmin/workflows/create.html index 467505be83..036bd5c44d 100644 --- a/wagtail/admin/templates/wagtailadmin/workflows/create.html +++ b/wagtail/admin/templates/wagtailadmin/workflows/create.html @@ -24,7 +24,7 @@ {% endblock %} {% block content %} - {% include "wagtailadmin/shared/header.html" with title=view.page_title icon=view.header_icon merged=1 %} + {% include "wagtailadmin/shared/header.html" with title=view.page_title icon=view.header_icon merged=1 only %}
{% csrf_token %} diff --git a/wagtail/users/templates/wagtailusers/groups/create.html b/wagtail/users/templates/wagtailusers/groups/create.html index e79f8e2873..173b50edb8 100644 --- a/wagtail/users/templates/wagtailusers/groups/create.html +++ b/wagtail/users/templates/wagtailusers/groups/create.html @@ -13,7 +13,7 @@ {% block content %} {% trans "Add group" as add_group_str %} - {% include "wagtailadmin/shared/header.html" with title=add_group_str icon="group" %} + {% include "wagtailadmin/shared/header.html" with title=add_group_str icon="group" only %}