{% extends "base-apply.html" %} {% load render_table from django_tables2 %} {% load i18n static markdown_tags bleach_tags %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block content %} {% adminbar %} {% slot header %}{% trans "Dashboard" %}{% endslot %} {% trans "Apply admin" %} {% endadminbar %}
{% if my_tasks.count %}

{% trans "My tasks" %}

{% for task in my_tasks.data %}
{{ task.text|markdown|bleach }}
View
{% endfor %}
{% endif %}

{% trans 'Invoices' %}

{# Active invoices tab #}
{% if active_invoices.count %} {% render_table active_invoices.table %} {% else %}
{% trans "No Active Invoices" %}
{% endif %}
{# Waiting for approval tab #}
{% if invoices_for_approval.count %} {% render_table invoices_for_approval.table %} {% else %}
{% trans "No Invoices for Approval " %}
{% endif %}
{# Waiting for conversion tab #}
{% if invoices_to_convert.count %} {% render_table invoices_to_convert.table %} {% else %}
{% trans "No Invoices for Conversion " %}
{% endif %}
{% if paf_for_review.count %}

{% trans "PAFs for review" %}

{% render_table paf_for_review.table %}
{% endif %}
{% endblock %} {% block extra_js %} {{ my_reviewed.filterset.form.media.js }} {% endblock %}