Link to admin posts list, not the posts page itself

This commit is contained in:
Jake Howard 2022-09-19 21:40:40 +01:00
parent ce81b23988
commit 997da9779c
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,8 +1,8 @@
{% load wagtailcore_tags wagtailadmin_tags %}
{% load wagtailadmin_tags %}
<li>
{% icon name="edit" %}
<a href="{% pageurl list_page %}">
<a href="{% url 'wagtailadmin_explore' list_page.id %}">
<span>{{ posts }}</span> Posts
</a>
</li>