{% extends "site_base_wagtail.html" %} {% load staticfiles %} {% load i18n %} {% load proposal_tags %} {% load review_tags %} {% load teams_tags %} {# {% load registrasion_tags %} #} {% block head_title %}Dashboard{% endblock %} {% block extra_style %} {% endblock %} {% block body_class %}auth{% endblock %} {% block body %}

{% trans "Speaking" %}

{% if not user.speaker_profile %}

To submit a proposal, you must first create a speaker profile.

{% else %}

Your Proposals

{% if not user.speaker_profile.proposals.exists %}

No proposals submitted yet.

{% else %}

{% endif %} {% endif %} {% if user.speaker_profile.proposals.exists %} {% for proposal in user.speaker_profile.proposals.all %} {% include "symposion/proposals/_proposal_row.html" %} {% endfor %}
Title Type Status Actions
{% endif %} {% if user.speaker_profile %} {% associated_proposals as associated_proposals %} {% if associated_proposals %}

Proposals you have joined as an additional speaker

{% for proposal in associated_proposals %} {% include "symposion/proposals/_proposal_row.html" %} {% endfor %}
Title Type Status Actions
{% endif %} {% pending_proposals as pending_proposals %} {% if pending_proposals %}

Proposals you have been invited to join

{% for proposal in pending_proposals %} {% include "symposion/proposals/_pending_proposal_row.html" %} {% endfor %}
Title Type Status Actions
{% endif %} {% endif %}

Actions

{% if not user.speaker_profile %} Create a speaker profile {% else %} Edit your speaker profile Submit a new proposal {% endif %}

{# TODO: Can we do better? #}
{# {% include 'registrasion/dashboard-widget.html' %} #} {% if review_sections %}

{% trans "Reviews" %}

Reviews by Section

{% comment %}

My Assignments

Proposal Title Score
Title Three -1
Title Four +2
{% endcomment %}
{# TODO: Can we do better? #} {% endif %} {% available_teams as available_teams %} {% if user.memberships.exists or available_teams %}

{% trans "Teams" %}

{% if user.memberships.exists %}

Your Teams

{% for membership in user.memberships.all %} {% endfor %}
{{ membership.team.name }} {% if membership.team.description %}
{{ membership.team.description }}{% endif %}
{{ membership.get_state_display }} {% if membership.state == "manager" or user.is_staff %} {% if membership.team.applicants %}{{ membership.team.applicants.count }} applicant{{ membership.team.applicants.count|pluralize }}{% endif %} {% endif %}
{% endif %} {% if available_teams %}

Available Teams

{% for team in available_teams %} {% endfor %}
{{ team }} {% if team.description %}
{{ team.description }}{% endif %}
{{ team.get_access_display }}
{% endif %}

{# TODO: Can we do better? #} {% endif %}
{% endblock %}