kopia lustrzana https://github.com/wagtail/wagtail
Update move page breadcrumb
rodzic
b7bbca5dc0
commit
76ad7da450
|
@ -77,7 +77,7 @@ header {
|
|||
|
||||
.breadcrumb {
|
||||
margin-bottom: 1rem;
|
||||
padding-left: revert;
|
||||
padding-left: $desktop-nice-padding / 2; // rather than padding-left: revert;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Ładowanie…
Reference in New Issue