{% extends "base-apply.html" %} {% load render_table from django_tables2 %} {% load i18n static wagtailcore_tags workflow_tags statusbar_tags %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block content %}

{% trans "Dashboard" %}

{% trans "An overview of active and past submissions and projects" %}

{% trans "Submit a new application" %}

{% trans "Apply now for our open rounds" %}
{% trans "Apply" %}

{% trans "Your active submissions" %}

{% for submission in my_active_submissions %}
{{ submission.title }}
{% trans "Submitted" %}: {{ submission.submit_time.date }} {% trans "by" %} {{ submission.user.get_full_name }}
{% status_bar submission.workflow submission.phase request.user css_class="status-bar--small" %}
{% if request.user|has_edit_perm:submission %} {% if submission.status == 'draft_proposal' %} {% trans "Start your" %} {{ submission.stage }} {% trans "application" %} {% else %} {% trans "Edit" %} {% endif %} {% endif %}
{% empty %} {% trans "No active submissions" %} {% endfor %}
{% if tables.0.data %}

{% trans "Your active projects" %}

{% render_table tables.0 %}
{% endif %} {% if tables.1.data %}

{% trans "Submission history" %}

{% render_table tables.1 %}
{% endif %} {% if tables.2.data %}

{% trans "Project history" %}

{% render_table tables.2 %}
{% endif %} {% endblock %} {% block extra_js %} {% endblock %}