Changeset - 1f16614fc43b
[Not reviewed]
0 1 0
Jeff Triplett - 6 years ago 2016-04-04 23:36:01
jeff.triplett@gmail.com
Fixes *_html proposal fields
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/proposals/_proposal_fields.html
Show inline comments
...
 
@@ -8,52 +8,52 @@
 
    <dd>{{ proposal.track }}&nbsp;</dd>
 

	
 
    <dt>{% trans "Audience Level" %}</dt>
 
    <dd>{{ proposal.get_audience_level_display }}&nbsp;</dd>
 

	
 
    {% if proposal.additional_speakers.all %}
 
        <dt>{% trans "Additional Speakers" %}</dt>
 
        <dd>
 
            {% 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 %}
 
        </dd>
 
    {% endif %}
 

	
 
    <dt>{% trans "Description" %}</dt>
 
    <dd>{{ proposal.description }}&nbsp;</dd>
 

	
 
    <dt>{% trans "Abstract" %}</dt>
 
    <dd>{{ proposal.abstract|safe }}&nbsp;</dd>
 
    <dd>{{ proposal.abstract_html|safe }}&nbsp;</dd>
 

	
 
    <dt>{% trans "Notes" %}</dt>
 
    <dd>{{ proposal.additional_notes|safe }}&nbsp;</dd>
 
    <dd>{{ proposal.additional_notes_html|safe }}&nbsp;</dd>
 

	
 
    <dt>{% trans "Speaker Bio" %}</dt>
 
    <dd>{{ proposal.speaker.biography|safe }}&nbsp;</dd>
 

	
 
    <dt>{% trans "Documents" %}</dt>
 
    <dd>
 
        {% 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 %}
 
            No supporting documents attached to this proposal.
 
        {% endif %}
 
    </dd>
0 comments (0 inline, 0 general)