Files @ e6c623a69ca9
Branch filter:

Location: symposion_app/pinaxcon/templates/symposion/proposals/_proposal_fields.html

Christopher Neugebauer
Refactors all speaker-facing forms and editing pages to use the new theme (#27)

* Themes speaker_edit.html

* speaker_create now uses takeflight theme

* proposal_submit_kind now uses takeflight theme

* fixes bug in form_snippet

* Optimises proposals_submit_kind

* proposal_submit now uses wagtail theme

* Proposal_edit now uses new theme

* More forms

* Proposal details page now loads from take flight theme

* proposal_fields now looks nicer under the take flight theme

* proposal_speaker_manage rethemed
{% load i18n %}

    <h4>{% trans "Submitted by" %}</h4>
    <p>{{ proposal.speaker }}</p>

    <h4>{% trans "Target Audience" %}</h4>
    <p>{{ proposal.get_target_audience_display }}&nbsp;</p>

    {% if proposal.additional_speakers.all %}
        <h4>{% trans "Additional Speakers" %}</h4>
        <ul>
            {% for speaker in proposal.additional_speakers.all %}
                <li>
                    {% if speaker.user %}
                        <strong>{{ speaker.name }}</strong> &lt;{{ speaker.email }}&gt;
                    {% else %}
                        {{ speaker.email }} ({% trans "Invitation Sent" %})
                    {% endif %}
                </li>
            {% endfor %}
        </ul>
        <p></p>
    {% endif %}

    <h4>{% trans "Abstract" %}</h4>
    <div class="abstract">{{ proposal.abstract_html|safe }}&nbsp;</div>

    <h4>{% trans "Private Abstract" %}</h4>
    <div class="private_abstract">{{ proposal.private_abstract_html|safe }}&nbsp;</div>

    <h4>{% trans "Project" %}</h4>
    <p>{{ proposal.project|safe }}&nbsp;</p>

    <h4>{% trans "Project URL" %}</h4>
    <p><a href="{{ proposal.project_url|safe }}">{{ proposal.project_url|safe }}</a>&nbsp;</p>

    <h4>{% trans "Video URL" %}</h4>
    <p><a href="{{ proposal.video_url|safe }}">{{ proposal.video_url|safe }}</a>&nbsp;</p>

    <h4>{% trans "Special Requirements" %}</h4>
    <div class="special_requirements">{{ proposal.technical_requirements_html|safe }}</div>

    <h4>{% trans "Speaker Bio" %}</h4>
    <div class="biography">{{ proposal.speaker.biography_html|safe }}&nbsp;</div>

    <h4>{% trans "Speaker Experience" %}</h4>
    <div class="biography">{{ proposal.speaker.experience_html|safe }}&nbsp;</div>

    <h4>{% trans "Documents" %}</h4>
    <div>
        {% if proposal.supporting_documents.exists %}
            <table class="table table-striped">
                {% for document in proposal.supporting_documents.all %}
                    <tr>
                        <td><a href="{{ document.download_url }}">{{ document.description }}</a></td>
                        <td>
                        <form style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
                            {% csrf_token %}
                            <button type="submit" class="btn btn-xs">delete</button>
                        </form>
                    </td>
                    </tr>
                {% endfor %}
            </table>
        {% else %}
            <p>No supporting documents attached to this proposal.</p>
        {% endif %}
    </div>

    <h4>{% trans "Recording Release" %}</h4>
    <p>{{ proposal.recording_release }}&nbsp;</p>

    <h4>{% trans "Materials Release" %}</h4>
    <p>{{ proposal.materials_release }}&nbsp;</p>