diff --git a/client/scss/components/_header.scss b/client/scss/components/_header.scss index 91e75a3ec4..4bb72d7a5d 100644 --- a/client/scss/components/_header.scss +++ b/client/scss/components/_header.scss @@ -15,7 +15,7 @@ position: relative; } - .w-header__glpyh { + .w-header__glyph { position: absolute; inset-inline-start: -1.5em; vertical-align: text-top; diff --git a/wagtail/admin/templates/wagtailadmin/reports/base_report.html b/wagtail/admin/templates/wagtailadmin/reports/base_report.html index 15d887e06e..38267994af 100644 --- a/wagtail/admin/templates/wagtailadmin/reports/base_report.html +++ b/wagtail/admin/templates/wagtailadmin/reports/base_report.html @@ -9,7 +9,7 @@

- {% if header_icon %}{% icon class_name="w-header__glpyh" name=header_icon %}{% endif %} + {% if header_icon %}{% icon class_name="w-header__glyph" name=header_icon %}{% endif %} {{ title }}{% if subtitle %} {{ subtitle }}{% endif %}

diff --git a/wagtail/admin/templates/wagtailadmin/shared/header.html b/wagtail/admin/templates/wagtailadmin/shared/header.html index 46d3abb9d8..737b020a0d 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/header.html +++ b/wagtail/admin/templates/wagtailadmin/shared/header.html @@ -23,9 +23,9 @@

{% if icon %} - {% icon class_name="w-header__glpyh" name=icon %} + {% icon class_name="w-header__glyph" name=icon %} {% elif avatar %} -
+
{% endif %} {{ title }}{% if subtitle %} {{ subtitle }}{% endif %}

diff --git a/wagtail/admin/templates/wagtailadmin/workflows/index.html b/wagtail/admin/templates/wagtailadmin/workflows/index.html index e0fd0ab625..fdc900c3f9 100644 --- a/wagtail/admin/templates/wagtailadmin/workflows/index.html +++ b/wagtail/admin/templates/wagtailadmin/workflows/index.html @@ -7,7 +7,7 @@

- {% if view.header_icon %}{% icon class_name="w-header__glpyh" name=view.header_icon %}{% endif %} + {% if view.header_icon %}{% icon class_name="w-header__glyph" name=view.header_icon %}{% endif %} {{ view.page_title }}{% if view.subtitle %} {{ view.subtitle }}{% endif %}

diff --git a/wagtail/admin/templates/wagtailadmin/workflows/task_index.html b/wagtail/admin/templates/wagtailadmin/workflows/task_index.html index 304395c2f5..bdb9170384 100644 --- a/wagtail/admin/templates/wagtailadmin/workflows/task_index.html +++ b/wagtail/admin/templates/wagtailadmin/workflows/task_index.html @@ -7,7 +7,7 @@

- {% if view.header_icon %}{% icon class_name="w-header__glpyh" name=view.header_icon %}{% endif %} + {% if view.header_icon %}{% icon class_name="w-header__glyph" name=view.header_icon %}{% endif %} {{ view.page_title }}{% if view.subtitle %} {{ view.subtitle }}{% endif %}

diff --git a/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html b/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html index 2ca4b5f6a2..d474636e3b 100644 --- a/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html +++ b/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html @@ -87,7 +87,7 @@

- {% icon class_name="w-header__glpyh" name="form" %} + {% icon class_name="w-header__glyph" name="form" %} {% blocktrans trimmed with form_title=form_page.title|capfirst %}Form data {{ form_title }}{% endblocktrans %}

diff --git a/wagtail/contrib/modeladmin/templates/modeladmin/index.html b/wagtail/contrib/modeladmin/templates/modeladmin/index.html index eeae36f94d..a10269ac49 100644 --- a/wagtail/contrib/modeladmin/templates/modeladmin/index.html +++ b/wagtail/contrib/modeladmin/templates/modeladmin/index.html @@ -24,7 +24,7 @@
{% block h1 %}

- {% if view.header_icon %}{% icon class_name="w-header__glpyh" name=view.header_icon %}{% endif %} + {% if view.header_icon %}{% icon class_name="w-header__glyph" name=view.header_icon %}{% endif %} {{ view.get_page_title }} {% if view.get_page_subtitle %} {{ view.get_page_subtitle }} {% endif %} {% include 'modeladmin/includes/result_count.html' %} diff --git a/wagtail/contrib/redirects/templates/wagtailredirects/index.html b/wagtail/contrib/redirects/templates/wagtailredirects/index.html index 49e81430d1..b56b34bac5 100644 --- a/wagtail/contrib/redirects/templates/wagtailredirects/index.html +++ b/wagtail/contrib/redirects/templates/wagtailredirects/index.html @@ -33,7 +33,7 @@

- {% icon class_name="w-header__glpyh" name="redirect" %} + {% icon class_name="w-header__glyph" name="redirect" %} {{ redirects_str }}

diff --git a/wagtail/contrib/settings/templates/wagtailsettings/edit.html b/wagtail/contrib/settings/templates/wagtailsettings/edit.html index 2cdcecc2c9..a4e1f839e6 100644 --- a/wagtail/contrib/settings/templates/wagtailsettings/edit.html +++ b/wagtail/contrib/settings/templates/wagtailsettings/edit.html @@ -10,7 +10,7 @@

- {% icon class_name="w-header__glpyh" name="cogs" %} + {% icon class_name="w-header__glyph" name="cogs" %} {% trans "Editing" %} {{ setting_type_name|capfirst }}

diff --git a/wagtail/snippets/templates/wagtailsnippets/snippets/type_index.html b/wagtail/snippets/templates/wagtailsnippets/snippets/type_index.html index 1a35480f83..93628067fd 100644 --- a/wagtail/snippets/templates/wagtailsnippets/snippets/type_index.html +++ b/wagtail/snippets/templates/wagtailsnippets/snippets/type_index.html @@ -23,7 +23,7 @@

- {% icon class_name="w-header__glpyh" name="snippet" %} {{ model_opts.verbose_name_plural|capfirst }} + {% icon class_name="w-header__glyph" name="snippet" %} {{ model_opts.verbose_name_plural|capfirst }}

{% if is_searchable and search_url %}