{% extends "cfp/event/base.html" %} {% load bootstrap4 %} {% load compress %} {% load filesize %} {% load formset_tags %} {% load i18n %} {% load rules %} {% load static %} {% block title %}{% translate "Your proposal" %} :: {% endblock %} {% block cfp_header %} {% compress js %} {% endcompress %} {# do not compress #} {% endblock %} {% block content %} {% has_perm 'cfp.add_speakers' request.user submission as can_invite_speakers %}

{% if submission.state != "draft" %}{% translate "Your proposal:" %}{% else %}{% translate "Your draft:" %}{% endif %} {{ submission.title }}

{% if submission.public_slots %}

{% for talk in submission.public_slots %} {{ talk.start|date:DAY_MONTH_DATE_FORMAT }}, {{ talk.start|date:"TIME_FORMAT" }}–{{ talk.end|date:"TIME_FORMAT" }}, {{ talk.room.name }} {% if not forloop.last %}·{% endif %} {% endfor %}

{% endif %}

{% if submission.state != "draft" %} {% translate "Current state of your proposal:" %} {% include "cfp/event/fragment_state.html" with state=submission.user_state %} {% else %}

{% blocktranslate trimmed %} This is a draft proposal. It will never be visible to anybody else, unless you submit it or explicitly share it. {% endblocktranslate %}
{% endif %} {% if submission.state == 'accepted' %} {% translate "Confirm your attendance" %} {% elif submission.state == 'confirmed' and request.event.feature_flags.use_feedback %} · {% if submission.does_accept_feedback %} {% translate "Audience feedback" %} {% else %} {% translate "Attendees can leave feedback here after your session has taken place." %} {% endif %} {% endif %}

{% if submission.state == "confirmed" %} {% blocktranslate trimmed count count=submission.speakers.count %}Speaker:{% plural %}Speakers:{% endblocktranslate %}: {% else %} {% blocktranslate trimmed count count=submission.speakers.count %}Submitter{% plural %}Submitters{% endblocktranslate %}: {% endif %} {{ submission.display_speaker_names }}{% if can_invite_speakers %},
{% endif %}
{% if form.errors %}{% bootstrap_form_errors form %}{% endif %} {% if qform.errors %}{% bootstrap_form_errors qform %}{% endif %} {% csrf_token %} {% bootstrap_form form layout='event' %} {% bootstrap_form qform layout='event' %} {% if can_edit or form.instance.resources.count %}
{{ formset.management_form }} {% bootstrap_formset_errors formset %}
{% if can_edit %}
{% translate "Resources will be publicly visible. Please try to keep your uploads below 16MB." %}
{% endif %} {% for form in formset %}
{{ form.id }} {% bootstrap_field form.DELETE form_group_class="" layout="inline" %}
{% bootstrap_form_errors form %}
{% bootstrap_field form.description layout='inline' %} {% if form.errors %}
{% bootstrap_field form.link layout='inline' %} {% bootstrap_field form.resource layout='inline' %}
{% else %} {% if form.instance.link %} {% bootstrap_field form.link layout='inline' %} {% else %} {{ form.instance.filename }} {% endif %} {% endif %}
{% if can_edit %}
{% endif %}
{% endfor %}
{% if can_edit %} {% if action != 'view' %}
{% endif %} {% endif %}
{% endif %} {% if can_edit %}
{% if submission.state == "draft" %}
{% else %}
{% endif %}
{% endif %}

{% translate "Share proposal" %}

{% blocktranslate trimmed %} If you need a review from a colleague or a friend here's a link that you can send out for viewing your proposal: {% endblocktranslate %} {{ submission.urls.review.full }}

{% if submission.state == "submitted" or submission.state == "accepted" %}

{% translate "Withdraw proposal" %}

{% blocktranslate trimmed %} You can withdraw your proposal from the selection process here. You cannot undo this - if you are just uncertain if you can or should hold your session, please contact the organiser instead. {% endblocktranslate %}

{% elif submission.state == "draft" %}

{% translate "Discard draft proposal" %}

{% blocktranslate trimmed %} You can discard your draft proposal here. You cannot undo this - if you are just uncertain if you can or should submit your proposal, please contact the organiser instead. {% endblocktranslate %}

{% elif submission.state == "confirmed" %}

{% translate "Cancel proposal" %}

{% blocktranslate trimmed %} As your proposal has been accepted already, please contact the event's organising team to cancel it. The best way to reach out would be an answer to your acceptance mail. {% endblocktranslate %}

{% endif %}
{% include "common/logs.html" with entries=submission.logged_actions hide_orga="true" %}
{% endblock %}