{% extends "wagtailadmin/generic/index.html" %} {% load i18n wagtailadmin_tags %} {% block content %} {% fragment as workflow_actions %} {% if showing_disabled %} {% icon name="no-view" %}{% trans "Hide disabled tasks" %} {% else %} {% icon name="view" %}{% trans "Show disabled tasks" %} {% endif %} {% icon name="plus" wrapped=1 %}{{ view.add_item_label }} {% endfragment %} {% include "wagtailadmin/shared/header.html" with title=view.page_title icon=view.header_icon extra_actions=workflow_actions %}
{% if tasks %} {% component table %} {% else %} {% url view.add_url_name as add_url %} {% if showing_disabled %}

{% blocktrans trimmed %}No tasks have been created. Why not add one?{% endblocktrans %}

{% else %}

{% blocktrans trimmed %}There are no enabled tasks. Why not add one?{% endblocktrans %}

{% endif %} {% endif %}
{% endblock %}