From 2f260937da2b69381d9677542f55f874bbb2a044 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Thu, 15 Nov 2018 15:56:59 -0500 Subject: [PATCH] templates: Adjust what proposal fields are shown. Show fields we use, not ones we don't. --- .../symposion/proposals/_proposal_fields.html | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pinaxcon/templates/symposion/proposals/_proposal_fields.html diff --git a/pinaxcon/templates/symposion/proposals/_proposal_fields.html b/pinaxcon/templates/symposion/proposals/_proposal_fields.html new file mode 100644 index 0000000..16b63f9 --- /dev/null +++ b/pinaxcon/templates/symposion/proposals/_proposal_fields.html @@ -0,0 +1,62 @@ +{% comment %} +Based on the original file from + +{% endcomment %} + +{% load i18n %} + +
+
{% trans "Submitted by" %}
+
{{ proposal.speaker }}
+ +
{% trans "Proposal Kind" %}
+
{{ proposal.kind.name }}
+ + {% if proposal.additional_speakers.all %} +
{% trans "Additional Speakers" %}
+
+ {% for speaker in proposal.additional_speakers.all %} +
  • + {% if speaker.user %} + {{ speaker.name }} <{{ speaker.email }}> + {% else %} + {{ speaker.email }} ({% trans "Invitation Sent" %}) + {% endif %} +
  • + {% endfor %} +
    + {% endif %} + +
    {% trans "Description" %}
    +
    {{ proposal.description }} 
    + +
    {% trans "Abstract" %}
    +
    {{ proposal.abstract_html|safe }} 
    + +
    {% trans "Notes" %}
    +
    {{ proposal.additional_notes_html|safe }} 
    + +
    {% trans "Speaker Bio" %}
    +
    {{ proposal.speaker.biography|safe }} 
    + +
    {% trans "Documents" %}
    +
    + {% if proposal.supporting_documents.exists %} + + {% for document in proposal.supporting_documents.all %} + + + + + {% endfor %} +
    {{ document.description }} +
    + {% csrf_token %} + +
    +
    + {% else %} + No supporting documents attached to this proposal. + {% endif %} +
    +