{% extends "base-apply.html" %} {% load render_table from django_tables2 %} {% load i18n static nh3_tags markdown_tags %} {% block extra_css %} {{ my_reviewed.filterset.form.media.css }} {% endblock %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block content %} {% adminbar %} {% slot header %}{% trans "Dashboard" %}{% endslot %} {% slot sub_heading %}{% trans "Welcome" %}, {{ request.user }}!{% endslot %} {% if perms.wagtailadmin.access_admin %} {% trans "Apply admin" %} {% endif %} {% endadminbar %}
{% if my_tasks.count %}

{% trans "My tasks" %}

{% for task in my_tasks.data %}
{{ task.text|markdown|nh3 }}
View
{% endfor %}
{% endif %}
{% include "dashboard/includes/submissions-waiting-for-review.html" with in_review_count=awaiting_reviews.count my_review=awaiting_reviews.table display_more=awaiting_reviews.display_more active_statuses_filter=awaiting_reviews.active_statuses_filter %}
{% if my_flagged.table.data %}
{% include "dashboard/includes/flagged.html" with my_flagged=my_flagged.table display_more=my_flagged.display_more %}
{% endif %} {% if rounds.closed or rounds.open %} {% include "funds/includes/round-block.html" with can_export=can_export closed_rounds=rounds.closed open_rounds=rounds.open title="Your rounds and labs" page_type='dashboard' %} {% endif %} {% if paf_for_review.count %}

{% trans "PAFs for review" %}

{% render_table paf_for_review.table %}
{% endif %} {% if projects.table.data %}
{% trans "Your projects" as project_heading %} {% include "funds/includes/table_filter_and_search.html" with filter=projects.filterset filter_action=projects.url search_term=search_term search_action=projects.url search_placeholder="projects" use_search=True use_batch_actions=False heading="Your projects" %} {% render_table projects.table %} {% if projects.display_more %} {% endif %}
{% endif %} {% if active_invoices.count %}

{% trans "Active Invoices" %}

{% render_table active_invoices.table %}
{% endif %} {% if my_reviewed.table.data %}
{% trans "Your previous reviews" as review_heading %} {% include "funds/includes/table_filter_and_search.html" with filter=my_reviewed.filterset filter_action=my_reviewed.url search_term=search_term search_action=my_reviewed.url use_search=True use_batch_actions=False heading=review_heading %} {% render_table my_reviewed.table %} {% if my_reviewed.display_more %} {% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {{ my_reviewed.filterset.form.media.js }} {% endblock %}