{% load i18n wagtailadmin_tags %} {% comment "text/markdown" %} Variables accepted by this template: - `title` - Displayed as `h1` - `subtitle` - Within the `h1` tag but smaller - `search_url` - if present, display a search box. This is a URL route name (taking no parameters) to be used as the action for that search box - `query_parameters` - a query string (without the '?') to be placed after the search URL - `icon` - name of an icon to place against the title - `merged` - if true, add the classname 'merged' - `action_url` - if present, display an 'action' button. This is the URL to be used as the link URL for the button - `action_text` - text for the 'action' button - `action_icon` - icon for the 'action' button, default is 'icon-plus' {% endcomment %}
{% block breadcrumb %}{% endblock %}

{% if icon %}{% icon name=icon class_name="header-title-icon" %}{% endif %} {{ title }}{% if subtitle %} {{ subtitle }}{% endif %}

{% if is_searchable and search_url %} {% endif %}
{% block right_column %} {% if action_url %}
{% with action_icon|default:'plus' as action_icon_name %} {% icon name=action_icon_name wrapped=1 %}{{ action_text }} {% endwith %}
{% endif %} {% endblock %}
{% block extra_rows %}{% endblock %}