Files
@ 1886323d7431
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/proposals/_proposal_fields.html
1886323d7431
4.0 KiB
text/html
Bootstrapification
Boot custom CSS, and put some base, standard css in its place.
Shame I did not start with fresh Bootstrap4, but oh well.
Some more templates could be made to make this less messy, which would
be good.
Boot custom CSS, and put some base, standard css in its place.
Shame I did not start with fresh Bootstrap4, but oh well.
Some more templates could be made to make this less messy, which would
be good.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | {% load i18n %}
{% load pyconau2017_tags %}
<h4>{% trans "Submitted by" %}</h4>
<p>{{ proposal.speaker }} <{{ proposal.speaker.email }}></p>
<h4>{% trans "Proposal Type" %}</h4>
<p>{{ proposal.kind.name|capfirst }}</p>
<h4>{% trans "Target Audience" %}</h4>
<p>{{ proposal.get_target_audience_display }} </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> <{{ speaker.email }}>
{% else %}
{{ speaker.email }} ({% trans "Invitation Sent" %})
{% endif %}
</li>
{% endfor %}
</ul>
<p></p>
{% endif %}
<h4>{% trans "Abstract" %}</h4>
<div class="abstract">{{ proposal.abstract_html|safe }} </div>
<h4>{% trans "Private Abstract" %}</h4>
<div class="private_abstract">{{ proposal.private_abstract_html|safe }} </div>
<h4>{% trans "Project" %}</h4>
<p>{{ proposal.project|safe }} </p>
<h4>{% trans "Project URL" %}</h4>
<p><a href="{{ proposal.project_url|safe }}">{{ proposal.project_url|safe }}</a> </p>
<h4>{% trans "Video URL" %}</h4>
<p><a href="{{ proposal.video_url|safe }}">{{ proposal.video_url|safe }}</a> </p>
<h4>{% trans "Special Requirements" %}</h4>
<div class="special_requirements">{{ proposal.technical_requirements_html|safe }}</div>
{% for speaker in proposal.speakers %}
<h4>{% trans "Speaker:" %} {{ speaker.name }}</h4>
<h5>{% trans "Biography" %}</h5>
<div class="biography">{{ speaker.biography_html|safe }} </div>
<h5>{% trans "Experience" %}</h5>
<div class="biography">{{ speaker.experience_html|safe }} </div>
{% endfor %}
{% can_manage proposal as can_manage_proposal %}
{% if can_manage_proposal or request.user.speaker_profile in proposal.speakers %}
<h4>{% trans "Assistance required?" %}</h4>
<br />
<table>
<tr>
<th></th>
<th>{% trans "Travel" %}</th>
<th>{% trans "Accommodation" %}</th>
</tr>
{% for speaker in proposal.speakers %}
<tr>
<td>{{ speaker.name }}</td>
<td>{{ speaker.travel_assistance }}</td>
<td>{{ speaker.accommodation_assistance }}</td>
</tr>
{% endfor %}
</table>
<br />
{% if proposal.speaker.accessibility_html %}
<h4>{% trans "Speaker Accessibility Requirements" %}</h4>
{% for speaker in proposal.speakers %}
{% if speaker.accessibility_html %}
<h5>{{ speaker.name }}</h5>
<div class="biography">{{ speaker.accessibility_html|safe }} </div>
{% endif %}
{% endfor %}
{% endif %}
{% endif %}
<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 class="form-horizontal" 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 }} </p>
<h4>{% trans "Materials Release" %}</h4>
<p>{{ proposal.materials_release }} </p>
|