Fix typo in header icon class name (#8831)

pull/8848/head
Paarth Agarwal 2022-07-13 11:23:30 +05:30 zatwierdzone przez GitHub
rodzic 27ff5bfeaf
commit 6a6cb880cf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
10 zmienionych plików z 11 dodań i 11 usunięć

Wyświetl plik

@ -15,7 +15,7 @@
position: relative;
}
.w-header__glpyh {
.w-header__glyph {
position: absolute;
inset-inline-start: -1.5em;
vertical-align: text-top;

Wyświetl plik

@ -9,7 +9,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% 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 %} <span class="w-header__subtitle">{{ subtitle }}</span>{% endif %}
</h1>
</div>

Wyświetl plik

@ -23,9 +23,9 @@
<div class="col">
<h1 class="w-header__title">
{% if icon %}
{% icon class_name="w-header__glpyh" name=icon %}
{% icon class_name="w-header__glyph" name=icon %}
{% elif avatar %}
<div class="w-header__glpyh avatar"><img src="{{ avatar }}" alt="" /></div>
<div class="w-header__glyph avatar"><img src="{{ avatar }}" alt="" /></div>
{% endif %}
{{ title }}{% if subtitle %} <span class="w-header__subtitle">{{ subtitle }}</span>{% endif %}
</h1>

Wyświetl plik

@ -7,7 +7,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% 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 %} <span class="header__subtitle">{{ view.subtitle }}</span>{% endif %}
</h1>
</div>

Wyświetl plik

@ -7,7 +7,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% 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 %} <span class="w-header__subtitle">{{ view.subtitle }}</span>{% endif %}
</h1>
</div>

Wyświetl plik

@ -87,7 +87,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% 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 <span class="w-header__subtitle">{{ form_title }}</span>{% endblocktrans %}
</h1>
</div>

Wyświetl plik

@ -24,7 +24,7 @@
<div class="col">
{% block h1 %}
<h1 class="w-header__title">
{% 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 %} <span class="w-header__subtitle">{{ view.get_page_subtitle }}</span> {% endif %}
{% include 'modeladmin/includes/result_count.html' %}

Wyświetl plik

@ -33,7 +33,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% icon class_name="w-header__glpyh" name="redirect" %}
{% icon class_name="w-header__glyph" name="redirect" %}
{{ redirects_str }}
</h1>
</div>

Wyświetl plik

@ -10,7 +10,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% icon class_name="w-header__glpyh" name="cogs" %}
{% icon class_name="w-header__glyph" name="cogs" %}
{% trans "Editing" %}
<span class="w-header__subtitle">{{ setting_type_name|capfirst }}</span>
</h1>

Wyświetl plik

@ -23,7 +23,7 @@
<div class="left">
<div class="col">
<h1 class="w-header__title">
{% 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 }}
</h1>
{% if is_searchable and search_url %}
<form class="col search-form" action="{% url search_url %}" method="get" novalidate>