| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  | {% load i18n %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  | <tr> | 
					
						
							|  |  |  |     <td> | 
					
						
							|  |  |  |         <a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a> | 
					
						
							|  |  |  |     </td> | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     <td>{{ proposal.kind.name }}</td> | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     <td> | 
					
						
							|  |  |  |         {% if proposal.cancelled %} | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |             <span class="label label-important">{% trans 'Cancelled' %}</span> | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |         {% else %} | 
					
						
							|  |  |  |             {% if request.user == proposal.speaker.user %} | 
					
						
							| 
									
										
										
										
											2012-09-02 14:45:41 -04:00
										 |  |  |                 {% if proposal.result.status == "accepted" %} | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |                     <span class="label label-success">{% trans 'Accepted' %}</span> | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |                 {% else %} | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |                     <span class="label">{% trans 'Submitted' %}</span> | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |                 {% endif %} | 
					
						
							|  |  |  |             {% else %} | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |                 <span class="label">{% trans 'Invited' %}</span> | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |             {% endif %} | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |     </td> | 
					
						
							|  |  |  |          | 
					
						
							|  |  |  |     <td> | 
					
						
							|  |  |  |         {% if not proposal.cancelled %} | 
					
						
							|  |  |  |             <div class="btn-group"> | 
					
						
							|  |  |  |                 <a class="btn btn-mini dropdown-toggle" data-toggle="dropdown" href="#"> | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |                 {% trans 'Choose Response' %} | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |                 <span class="caret"></span> | 
					
						
							|  |  |  |                 </a> | 
					
						
							|  |  |  |                 <ul class="dropdown-menu"> | 
					
						
							| 
									
										
										
										
											2012-09-24 12:54:41 +02:00
										 |  |  |                     <li><a href="{% url proposal_pending_join proposal.id %}"> | 
					
						
							|  |  |  | 			{% trans 'Accept invitation' %}</a></li> | 
					
						
							|  |  |  |                     <li><a href="{% url proposal_pending_decline proposal.id | 
					
						
							|  |  |  | 		    %}">{% trans 'Decline invitation' %}</a></li> | 
					
						
							| 
									
										
										
										
											2012-08-14 03:49:57 -04:00
										 |  |  |                 </ul> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         {% endif %} | 
					
						
							|  |  |  |     </td> | 
					
						
							|  |  |  | </tr> |