2015-10-16 12:53:02 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								{% load i18n %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% if proposal.result.status == "accepted" %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <div class="card text-white bg-success mx-4 my-4">
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% elif proposal.result.status == "rejected" %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <div class="card text-white bg-danger mx-4 my-4">
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% elif proposal.result.status == "standby" %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <div class="card text-white bg-warning mx-4 my-4">
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% else %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <div class="card bg-light mx-4 my-4">
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								{% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <div class="card-body">
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <h4 class="card-title">{{ proposal.title }}</h4>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									  <div class="card-text">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									      <p>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										  <small>{{ proposal.kind.name }}</small>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										  {% if proposal.cancelled %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										      <small class="badge badge-pill float-right badge-danger">Cancelled</small>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										  {% else %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										      {% if request.user == proposal.speaker.user %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											  {% if proposal.result.status == "accepted" %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
											      <small class="badge badge-pill float-right badge-success">Accepted</small>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											  {% else %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											      <small class="badge badge-pill float-right badge-default">Submitted</small>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											  {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										      {% else %}
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
											  <small class="badge badge-pill float-right badge-default">Invited</small>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										      {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										  {% endif %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									      </p>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									      <p>{{ proposal.abstract|truncatewords:40 }}</p>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									  </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </div>
							 | 
						
					
						
							
								
									
										
										
										
											2019-06-24 21:58:21 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  <div class="card-footer">
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <a href="{% url "proposal_detail" proposal.pk %}">View Details</a><br />
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      {% if not proposal.cancelled %}
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:50:53 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									  <a href="{% url "proposal_pending_join" proposal.id %}">Accept Invitation</a><br />
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									  <a href="{% url "proposal_pending_decline" proposal.id %}">Decline Invitation</a>
							 | 
						
					
						
							
								
									
										
										
										
											2018-06-30 15:18:04 +12:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      {% endif %}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </div>
							 | 
						
					
						
							
								
									
										
										
										
											2017-04-16 16:01:57 +10:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								  </div>
							 |