61 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			61 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
|   | {% load i18n %} | ||
|  | 
 | ||
|  | <dl class="dl-horizontal"> | ||
|  |     <dt>{% trans "Submitted by" %}</dt> | ||
|  |     <dd>{{ proposal.speaker }}</dd> | ||
|  | 
 | ||
|  |     <dt>{% trans "Track" %}</dt> | ||
|  |     <dd>{{ proposal.track }} </dd> | ||
|  | 
 | ||
|  |     <dt>{% trans "Audience Level" %}</dt> | ||
|  |     <dd>{{ proposal.get_audience_level_display }} </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> <{{ speaker.email }}> | ||
|  |                     {% else %} | ||
|  |                         {{ speaker.email }} ({% trans "Invitation Sent" %}) | ||
|  |                     {% endif %} | ||
|  |                 </li> | ||
|  |             {% endfor %} | ||
|  |         </dd> | ||
|  |     {% endif %} | ||
|  | 
 | ||
|  |     <dt>{% trans "Description" %}</dt> | ||
|  |     <dd>{{ proposal.description }} </dd> | ||
|  | 
 | ||
|  |     <dt>{% trans "Abstract" %}</dt> | ||
|  |     <dd>{{ proposal.abstract|safe }} </dd> | ||
|  | 
 | ||
|  |     <dt>{% trans "Notes" %}</dt> | ||
|  |     <dd>{{ proposal.additional_notes|safe }} </dd> | ||
|  | 
 | ||
|  |     <dt>{% trans "Speaker Bio" %}</dt> | ||
|  |     <dd>{{ proposal.speaker.biography|safe }} </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> | ||
|  | </dl> |