{% extends "wagtailadmin/base.html" %} {% load i18n %} {% block titletag %}{{ page_title }} {{ page_subtitle }}{% endblock %} {% block content %} {% if can_add %} {% url view.add_url_name as add_link %} {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle action_url=add_link action_text=view.add_item_label icon=header_icon only %} {% else %} {% include "wagtailadmin/shared/header.html" with title=page_title subtitle=page_subtitle icon=header_icon only %} {% endif %} {% block listing %} {% endblock %} {% endblock %}