Update move page breadcrumb

pull/7877/head
Dan Braghis 2022-01-14 17:45:49 +00:00 zatwierdzone przez Matt Westcott
rodzic b7bbca5dc0
commit 76ad7da450
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -77,7 +77,7 @@ header {
.breadcrumb {
margin-bottom: 1rem;
padding-left: revert;
padding-left: $desktop-nice-padding / 2; // rather than padding-left: revert;
}
}

Wyświetl plik

@ -3,8 +3,8 @@
<nav aria-label="{% trans 'Breadcrumb' %}">
<ul class="breadcrumb">
{% for page in pages %}
<li>
<a href="{% url 'wagtailadmin_pages:move_choose_destination' page_to_move_id page.id %}">
<li class="breadcrumb-item">
<a href="{% url 'wagtailadmin_pages:move_choose_destination' page_to_move_id page.id %}" class="breadcrumb-link">
{% if forloop.first %}
{% if page.is_root %}{% trans "Root" as label %}{% else %}{% trans 'Home' as label %}{% endif %}
{% icon name="site" class_name="home_icon" title=label %}