initial presentation detail page and a couple of other tweaks
This commit is contained in:
		
							parent
							
								
									1b3ef8d424
								
							
						
					
					
						commit
						fad4c7d4dd
					
				
					 4 changed files with 41 additions and 3 deletions
				
			
		|  | @ -13,7 +13,7 @@ | |||
|                     {% if slot.kind.label == "talk" %} | ||||
|                         {% if not slot.content %} | ||||
|                         {% else %} | ||||
|                             <div class="title"><a class="edit-slot" href="#">{{ slot.content.title }}</a></div> | ||||
|                             <div class="title"><a href="{% url schedule_presentation_detail slot.content.pk %}">{{ slot.content.title }}</a></div> | ||||
|                             <div class="speaker">{{ slot.content.speaker }}</div> | ||||
|                         {% endif %} | ||||
|                     {% else %} | ||||
|  |  | |||
							
								
								
									
										38
									
								
								symposion/templates/schedule/presentation_detail.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								symposion/templates/schedule/presentation_detail.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,38 @@ | |||
| {% extends "site_base.html" %} | ||||
| 
 | ||||
| {% block head_title %}Presentation: {{ presentation.title }}{% endblock %} | ||||
| 
 | ||||
| {% block body %} | ||||
|      | ||||
|     <h1>{{ presentation.title }}</h1> | ||||
| 
 | ||||
|     <h2> | ||||
|         {% for speaker in presentation.speakers %} | ||||
|             {{ speaker }} | ||||
|         {% if not forloop.last %}, {% endif %}{% endfor %} | ||||
|     </h2> | ||||
|      | ||||
|     <dl class="dl-horizontal"> | ||||
|         <dt>Audience level:</dt> | ||||
|         <dd style="margin-bottom: 0;">{{ presentation.proposal.get_audience_level_display }}</dd> | ||||
|         <dt>Track:</dt> | ||||
|         <dd>{{ presentation.proposal.track }}</dd> | ||||
|     </dl> | ||||
|      | ||||
|     {% if presentation.slot %} | ||||
|         <h2> | ||||
|             {{ presentation.slot.day.date|date:"l" }} | ||||
|             {{ presentation.slot.start}}–{{ presentation.slot.end }} | ||||
|             in | ||||
|             {{ presentation.slot.rooms|join:", " }} | ||||
|         </h2> | ||||
|     {% endif %} | ||||
| 
 | ||||
|     <h3>Description</h3> | ||||
| 
 | ||||
|     <div class="description">{{ presentation.description }}</div> | ||||
|      | ||||
|     <h3>Abstract</h3> | ||||
|      | ||||
|     <div class="abstract">{{ presentation.abstract|safe }}</div> | ||||
| {% endblock %} | ||||
|  | @ -3,7 +3,7 @@ | |||
| {% load i18n %} | ||||
| {% load bootstrap_tags %} | ||||
| 
 | ||||
| {% block head_title %}Conference Schedule Edit{% endblock %} | ||||
| {% block head_title %}Conference Schedule{% endblock %} | ||||
| 
 | ||||
| {% block body_class %}full{% endblock %} | ||||
| 
 | ||||
|  |  | |||
|  | @ -28,7 +28,7 @@ | |||
|     {% for presentation in presentations %} | ||||
|         <div class="row"> | ||||
|             <div class="span8 presentation well"> | ||||
|                 <h3><a href="#">{{ presentation.title }}</a></h3> | ||||
|                 <h3><a href="{% url schedule_presentation_detail presentation.pk %}">{{ presentation.title }}</a></h3> | ||||
|                 <h4>{{ presentation.speaker }} in {{ presentation.proposal.track }}</h4> | ||||
|                 {{ presentation.description }} | ||||
|                 {% if presentation.slot %} | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Tauber
						James Tauber