kopia lustrzana https://github.com/wagtail/wagtail
Update move_breadcrumb markup to match explorer breadcrumb
rodzic
d2c1392281
commit
ec84b35761
|
@ -5,8 +5,15 @@
|
|||
{% for page in pages %}
|
||||
<li>
|
||||
<a href="{% url 'wagtailadmin_pages:move_choose_destination' page_to_move_id page.id %}">
|
||||
<span class="title">{{ page.get_admin_display_title }}</span>
|
||||
{% icon name="arrow-right" class_name="arrow_right_icon" %}
|
||||
{% 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 %}
|
||||
{% else %}
|
||||
<span class="title">{{ page.get_admin_display_title }}</span>
|
||||
{% endif %}
|
||||
{% if not forloop.last %}
|
||||
{% icon name="arrow-right" class_name="arrow_right_icon" %}
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Ładowanie…
Reference in New Issue