diff --git a/pinaxcon/templates/dashboard.html b/pinaxcon/templates/dashboard.html new file mode 100644 index 0000000000000000000000000000000000000000..9e4f2de4088af788228264f7891af3185a149757 --- /dev/null +++ b/pinaxcon/templates/dashboard.html @@ -0,0 +1,234 @@ +{% extends "site_base.html" %} + +{% load i18n %} +{% load proposal_tags %} +{% load review_tags %} +{% load teams_tags %} + +{% block head_title %}Dashboard{% endblock %} + +{% block body_class %}auth{% endblock %} + +{% block body %} +
+
+
+ {% if not user.speaker_profile %} + + Create a speaker profile + + {% else %} + + Edit your speaker profile + + + Submit a new proposal + + {% endif %} +
+

+ + {% 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.

+ {% endif %} + {% endif %} +
+ {% if user.speaker_profile.proposals.exists %} + + + + + + + + {% for proposal in user.speaker_profile.proposals.all %} + {% include "symposion/proposals/_proposal_row.html" %} + {% endfor %} +
TitleSession typeStatusActions
+ {% 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 %} +
TitleSession typeStatusActions
+ {% 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 %} +
TitleSession typeStatusActions
+ {% endif %} + {% endif %} +
+ +
+
+
+ {% if not user.sponsorships.exists %} + + + Apply to be a sponsor + + {% endif %} +
+

+ + {% trans "Sponsorship" %} +

+
+ +
+ {% if not user.sponsorships.exists %} +

If you or your organization would be interested in sponsorship opportunities, use our online form to apply to be a sponsor. + {% else %} +

Your Sponsorship

+ + {% endif %} + {% if user.is_staff %} +

+ As staff, you can directly add a sponsor if the organization isn't + applying themselves. +

+ {% endif %} +
+
+ + {% if review_sections %} +
+
+

+ + {% trans "Reviews" %} +

+
+
+

Reviews by Section

+ + + {% comment %} +

My Assignments

+ + + + + + + + + + + + + + + +
Proposal TitleScore
Title Three-1
Title Four+2
+ {% endcomment %} + +
+
+ {% 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 %} +
+ {% endif %} +{% endblock %}