Files @ ecabf31e54b9
Branch filter:

Location: symposion_app/pinaxcon/templates/pinax/pages/file_list.html

Christopher Neugebauer
Assorted fixes (#47)

* Invokes the site tree fix from previous fixes.

* Adds a disclaimer noting that previous years’ accounts have not been carried over.

Fixes #43

* Adds proposal type to the proposal summary page.

Fixes #40

* Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers.

Fixes #41.
Fixes #42.

* Reduces a lot of the whitespace in the header and footer.

Fixes #44

* Proposals review page now shows information for every speaker on a proposal.

Fixes #45

* Makes sure that non_field_errors are displayed by forms.

Fixes #37
{% extends "site_base.html" %}

{% block head_title %}Uploaded Files{% endblock %}

{% block body_outer %}
    <h1>Files</h1>
    {% for file in files %}
        <div style="margin-top: 1em;">
            <form class="pull-right" action="{% url "file_delete" file.pk %}" method="post">
                {% csrf_token %}
                <button type="submit" class="btn btn-error"><i class="fa fa-trash"></i> delete</button>
            </form>
            <h3><a href="{{ file.download_url }}">{{ file.file }}</a></h3>
            <span style="font-style:italic; color: #999;">Uploaded {{ file.created|date:"N j, Y" }}</span>
        </div>
    {% empty %}
        <p>No uploaded files.</p>
    {% endfor %}
    <div style="margin-top: 2em">
        <a class="btn btn-success" href="{% url "file_create" %}">
            <i class="fa fa-plus"></i>
            Add File
        </a>
    </div>
{% endblock %}